C - the channel typepublic static class ReadReadyHandler.ChannelListenerHandler<C extends SuspendableReadChannel & ReadListenerSettable<C> & CloseListenerSettable<C>> extends Object implements ReadReadyHandler
ReadReadyHandler.ChannelListenerHandler<C extends SuspendableReadChannel & ReadListenerSettable<C> & CloseListenerSettable<C>>, ReadReadyHandler.ReadyTask| Constructor and Description |
|---|
ChannelListenerHandler(C channel)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
forceTermination()
Force the front-end channel to close, in response to XNIO worker shutdown.
|
void |
readReady()
Signify that reads are ready.
|
void |
terminated()
Indicate that a previous shutdown request has successfully resulted in termination.
|
public ChannelListenerHandler(C channel)
channel - the channelpublic void forceTermination()
TerminateHandlerforceTermination in interface TerminateHandlerpublic void readReady()
ReadReadyHandlerreadReady in interface ReadReadyHandlerpublic void terminated()
TerminateHandlerterminated in interface TerminateHandlerCopyright © 2018 JBoss by Red Hat. All rights reserved.