public class IOHandler extends BaseHandler
| Modifier and Type | Field and Description |
|---|---|
private static Selectable.Callback |
connectionError |
private static Selectable.Callback |
connectionExpired |
private static Selectable.Callback |
connectionFree |
private static Selectable.Callback |
connectionReadable |
private static Selectable.Callback |
connectionWritable |
| Constructor and Description |
|---|
IOHandler() |
| Modifier and Type | Method and Description |
|---|---|
private static int |
capacity(Selectable selectable) |
private static long |
deadline(SelectableImpl selectable) |
private void |
handleBound(Reactor reactor,
Event event) |
private void |
handleOpen(Event event) |
private void |
handleQuiesced(Reactor reactor,
Selector selector) |
private void |
handleTransport(Reactor reactor,
Event event) |
void |
onUnhandled(Event event) |
private static int |
pending(Selectable selectable) |
protected static Selectable |
selectableTransport(Reactor reactor,
java.net.Socket socket,
Transport transport) |
private static void |
update(Selectable selectable) |
add, children, getHandler, getHandler, handle, onConnectionBound, onConnectionFinal, onConnectionInit, onConnectionLocalClose, onConnectionLocalOpen, onConnectionRemoteClose, onConnectionRemoteOpen, onConnectionUnbound, onDelivery, onLinkFinal, onLinkFlow, 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, setHandler, setHandlerprivate static Selectable.Callback connectionReadable
private static Selectable.Callback connectionWritable
private static Selectable.Callback connectionError
private static Selectable.Callback connectionExpired
private static Selectable.Callback connectionFree
private void handleQuiesced(Reactor reactor, Selector selector) throws java.io.IOException
java.io.IOExceptionprivate void handleOpen(Event event)
private static int capacity(Selectable selectable)
private static int pending(Selectable selectable)
private static long deadline(SelectableImpl selectable)
private static void update(Selectable selectable)
protected static Selectable selectableTransport(Reactor reactor, java.net.Socket socket, Transport transport)
public void onUnhandled(Event event)
onUnhandled in interface HandleronUnhandled in class BaseHandler