public class Server extends BaseHandler
| Modifier and Type | Class and Description |
|---|---|
private class |
Server.MessageStore |
| Modifier and Type | Field and Description |
|---|---|
private Server.MessageStore |
messages |
private boolean |
quiet |
private Router |
router |
private int |
tag |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] argv) |
private byte[] |
nextTag() |
void |
onDelivery(Event evt) |
void |
onLinkFlow(Event evt) |
private int |
send(java.lang.String address) |
private int |
send(java.lang.String address,
Sender snd) |
add, children, getHandler, getHandler, handle, onConnectionBound, onConnectionFinal, onConnectionInit, onConnectionLocalClose, onConnectionLocalOpen, onConnectionRemoteClose, onConnectionRemoteOpen, onConnectionUnbound, onLinkFinal, onLinkInit, onLinkLocalClose, onLinkLocalDetach, onLinkLocalOpen, onLinkRemoteClose, onLinkRemoteDetach, onLinkRemoteOpen, onReactorFinal, onReactorInit, onReactorQuiesced, onSelectableError, onSelectableExpired, onSelectableFinal, onSelectableInit, onSelectableReadable, onSelectableUpdated, onSelectableWritable, onSessionFinal, onSessionInit, onSessionLocalClose, onSessionLocalOpen, onSessionRemoteClose, onSessionRemoteOpen, onTimerTask, onTransport, onTransportClosed, onTransportError, onTransportHeadClosed, onTransportTailClosed, onUnhandled, setHandler, setHandlerprivate final Server.MessageStore messages
private final Router router
private boolean quiet
private int tag
public Server(Router router, boolean quiet)
private byte[] nextTag()
private int send(java.lang.String address)
private int send(java.lang.String address,
Sender snd)
public void onLinkFlow(Event evt)
onLinkFlow in interface CoreHandleronLinkFlow in class BaseHandlerpublic void onDelivery(Event evt)
onDelivery in interface CoreHandleronDelivery in class BaseHandlerpublic static final void main(java.lang.String[] argv)
throws java.io.IOException
java.io.IOException