public static interface SelectorManager.SelectableEndPoint extends EndPoint
SelectorManager.SelectableEndPoint is an EndPoint that wish to be
notified of non-blocking events by the SelectorManager.ManagedSelector.| Modifier and Type | Method and Description |
|---|---|
void |
onSelected()
Callback method invoked when a read or write events has been
detected by the
SelectorManager.ManagedSelector for this endpoint. |
void |
updateKey()
Callback method invoked when all the keys selected by the
SelectorManager.ManagedSelector for this endpoint have been processed. |
close, fill, fillInterested, flush, getConnection, getCreatedTimeStamp, getIdleTimeout, getLocalAddress, getRemoteAddress, getTransport, isInputShutdown, isOpen, isOutputShutdown, onClose, onOpen, setConnection, setIdleTimeout, shutdownOutput, writevoid onSelected()
SelectorManager.ManagedSelector for this endpoint.void updateKey()
SelectorManager.ManagedSelector for this endpoint have been processed.Copyright © 1995-2014 Mort Bay Consulting. All Rights Reserved.