C - the channel typepublic static class WriteReadyHandler.ChannelListenerHandler<C extends SuspendableWriteChannel & WriteListenerSettable<C> & CloseListenerSettable<C>> extends Object implements WriteReadyHandler
WriteReadyHandler.ChannelListenerHandler<C extends SuspendableWriteChannel & WriteListenerSettable<C> & CloseListenerSettable<C>>, WriteReadyHandler.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 |
terminated()
Indicate that a previous shutdown request has successfully resulted in termination.
|
void |
writeReady()
Signify that writes are ready.
|
public ChannelListenerHandler(C channel)
channel - the channelpublic void forceTermination()
TerminateHandlerforceTermination in interface TerminateHandlerpublic void writeReady()
WriteReadyHandlerwriteReady in interface WriteReadyHandlerpublic void terminated()
TerminateHandlerterminated in interface TerminateHandlerCopyright © 2018 JBoss by Red Hat. All rights reserved.