Crossfire JXClient, Trunk
|
Public Member Functions | |
void | run () |
Package Functions | |
Reply | build (Request rq) throws IOException |
ByteBuffer | receive () throws IOException |
RequestServicer (ChannelIO cio) | |
Private Member Functions | |
void | service () throws IOException |
Private Attributes | |
ChannelIO | cio |
Static Private Attributes | |
static int | created = 0 |
Primary driver class used by blocking Servers to receive, prepare, send, and shutdown requests.
Definition at line 51 of file RequestServicer.java.
|
package |
Definition at line 57 of file RequestServicer.java.
Definition at line 136 of file RequestServicer.java.
References Request.Action.GET, Request.Action.HEAD, Reply.Code.METHOD_NOT_ALLOWED, Reply.Code.NOT_FOUND, Reply.Code.OK, Reply.prepare(), and Reply.release().
Referenced by service().
|
package |
Definition at line 122 of file RequestServicer.java.
References cio, ChannelIO.doHandshake(), ChannelIO.getReadBuf(), Request.isComplete(), read, and ChannelIO.read().
Referenced by service().
void RequestServicer.run | ( | ) |
Definition at line 114 of file RequestServicer.java.
References service().
Referenced by B1.runServer().
|
private |
Definition at line 72 of file RequestServicer.java.
References Reply.Code.BAD_REQUEST, build(), cio, ChannelIO.close(), Request.parse(), receive(), Reply.release(), Reply.send(), and ChannelIO.shutdown().
Referenced by run().
|
private |
Definition at line 53 of file RequestServicer.java.
Referenced by receive(), RequestServicer(), and service().
|
staticprivate |
Definition at line 55 of file RequestServicer.java.
Referenced by RequestServicer().