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