|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MsgContext | |
---|---|
com.sun.grizzly.http.jk.common | |
com.sun.grizzly.http.jk.core | |
com.sun.grizzly.http.jk.server |
Uses of MsgContext in com.sun.grizzly.http.jk.common |
---|
Methods in com.sun.grizzly.http.jk.common that return MsgContext | |
---|---|
MsgContext |
JniHandler.createMsgContext()
Create a msg context to be used with the shm channel |
Methods in com.sun.grizzly.http.jk.common with parameters of type MsgContext | |
---|---|
void |
ChannelSocket.accept(MsgContext ep)
|
void |
ChannelNioSocket.accept(MsgContext ep)
|
void |
ChannelSocket.close(MsgContext ep)
|
void |
ChannelUn.close(MsgContext ep)
|
void |
ChannelNioSocket.close(MsgContext ep)
|
int |
ChannelJni.flush(Msg msg,
MsgContext ep)
|
int |
ChannelSocket.flush(Msg msg,
MsgContext ep)
|
int |
ChannelUn.flush(Msg msg,
MsgContext ep)
|
int |
ChannelNioSocket.flush(Msg msg,
MsgContext ep)
|
int |
ChannelJni.invoke(Msg msg,
MsgContext ep)
Receive a packet from the C side. |
int |
JniHandler.invoke(Msg msg,
MsgContext ep)
Base implementation for invoke. |
int |
Shm.invoke(Msg msg,
MsgContext ep)
|
int |
ChannelSocket.invoke(Msg msg,
MsgContext ep)
|
int |
Shm14.invoke(Msg msg,
MsgContext ep)
|
int |
ChannelUn.invoke(Msg msg,
MsgContext ep)
|
int |
HandlerDispatch.invoke(Msg msg,
MsgContext ep)
|
int |
ChannelNioSocket.invoke(Msg msg,
MsgContext ep)
|
int |
HandlerRequest.invoke(Msg msg,
MsgContext ep)
|
int |
WorkerDummy.invoke(Msg in,
MsgContext ep)
|
boolean |
ChannelJni.isSameAddress(MsgContext ep)
|
boolean |
ChannelSocket.isSameAddress(MsgContext ep)
|
boolean |
ChannelUn.isSameAddress(MsgContext ep)
|
boolean |
ChannelNioSocket.isSameAddress(MsgContext ep)
|
protected int |
JniHandler.nativeDispatch(Msg msg,
MsgContext ep,
int code,
int raw)
send and get the response in the same buffer. |
void |
ChannelSocket.open(MsgContext ep)
|
int |
ChannelUn.open(MsgContext ep)
Open a connection - since we're listening that will block in accept |
void |
ChannelNioSocket.open(MsgContext ep)
|
int |
ChannelSocket.read(MsgContext ep,
byte[] b,
int offset,
int len)
Read N bytes from the InputStream, and ensure we got them all Under heavy load we could experience many fragmented packets just read Unix Network Programming to recall that a call to read didn't ensure you got all the data you want from read() Linux manual On success, the number of bytes read is returned (zero indicates end of file),and the file position is advanced by this number. |
int |
ChannelNioSocket.read(MsgContext ep,
byte[] b,
int offset,
int len)
Read N bytes from the InputStream, and ensure we got them all Under heavy load we could experience many fragmented packets just read Unix Network Programming to recall that a call to read didn't ensure you got all the data you want from read() Linux manual On success, the number of bytes read is returned (zero indicates end of file),and the file position is advanced by this number. |
int |
ChannelJni.receive(Msg msg,
MsgContext ep)
Receives does nothing - send will put the response in the same buffer |
int |
ChannelSocket.receive(Msg msg,
MsgContext ep)
|
int |
ChannelUn.receive(Msg msg,
MsgContext ep)
|
int |
ChannelNioSocket.receive(Msg msg,
MsgContext ep)
|
protected void |
JniHandler.recycleNative(MsgContext ep)
|
void |
ChannelJni.registerRequest(Request req,
MsgContext ep,
int count)
|
void |
ChannelSocket.registerRequest(Request req,
MsgContext ep,
int count)
|
void |
ChannelUn.registerRequest(Request req,
MsgContext ep,
int count)
|
void |
ChannelNioSocket.registerRequest(Request req,
MsgContext ep,
int count)
|
int |
ChannelJni.send(Msg msg,
MsgContext ep)
Send the packet. |
int |
ChannelSocket.send(Msg msg,
MsgContext ep)
|
int |
ChannelUn.send(Msg msg,
MsgContext ep)
|
int |
ChannelNioSocket.send(Msg msg,
MsgContext ep)
|
protected void |
JniHandler.setNativeEndpoint(MsgContext msgCtx)
|
Constructors in com.sun.grizzly.http.jk.common with parameters of type MsgContext | |
---|---|
JkInputStream(MsgContext context)
Deprecated. |
|
JkInputStream(MsgContext context,
int bsize)
|
Uses of MsgContext in com.sun.grizzly.http.jk.core |
---|
Methods in com.sun.grizzly.http.jk.core that return MsgContext | |
---|---|
MsgContext |
JkChannel.createMsgContext()
Create a new request endpoint. |
MsgContext |
JkHandler.createMsgContext()
|
MsgContext |
JkHandler.createMsgContext(int bsize)
|
Methods in com.sun.grizzly.http.jk.core with parameters of type MsgContext | |
---|---|
int |
JkChannel.flush(Msg msg,
MsgContext ep)
Flush the data to the client. |
int |
JkChannel.invoke(Msg msg,
MsgContext ep)
Invoke the request chain. |
int |
JkHandler.invoke(Msg msg,
MsgContext mc)
|
boolean |
JkChannel.isSameAddress(MsgContext ep)
Confirm that a shutdown request was recieved form us. |
int |
JkChannel.receive(Msg msg,
MsgContext ep)
Recieve a message from the client. |
void |
JkChannel.registerRequest(Request req,
MsgContext ep,
int count)
Register a new Request in the Request pool. |
int |
JkChannel.send(Msg msg,
MsgContext ep)
Send a message back to the client. |
Uses of MsgContext in com.sun.grizzly.http.jk.server |
---|
Methods in com.sun.grizzly.http.jk.server with parameters of type MsgContext | |
---|---|
int |
JkCoyoteHandler.invoke(Msg msg,
MsgContext ep)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |