public class Drain extends BaseHandler
| Modifier and Type | Field and Description |
|---|---|
private boolean |
block |
private int |
count |
private boolean |
quiet |
private int |
received |
| Constructor and Description |
|---|
Drain(int count,
boolean block,
boolean quiet) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] argv) |
void |
onConnectionRemoteClose(Event evt) |
void |
onDelivery(Event evt) |
void |
onLinkFlow(Event evt) |
void |
onLinkLocalOpen(Event evt) |
add, children, getHandler, getHandler, handle, onConnectionBound, onConnectionFinal, onConnectionInit, onConnectionLocalClose, onConnectionLocalOpen, onConnectionRemoteOpen, onConnectionUnbound, onLinkFinal, onLinkInit, onLinkLocalClose, onLinkLocalDetach, 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 int count
private boolean block
private int received
private boolean quiet
public void onLinkLocalOpen(Event evt)
onLinkLocalOpen in interface CoreHandleronLinkLocalOpen in class BaseHandlerpublic void onLinkFlow(Event evt)
onLinkFlow in interface CoreHandleronLinkFlow in class BaseHandlerpublic void onDelivery(Event evt)
onDelivery in interface CoreHandleronDelivery in class BaseHandlerpublic void onConnectionRemoteClose(Event evt)
onConnectionRemoteClose in interface CoreHandleronConnectionRemoteClose in class BaseHandlerpublic static void main(java.lang.String[] argv)
throws java.lang.Exception
java.lang.Exception