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()
TerminateHandler
forceTermination
in interface TerminateHandler
public void writeReady()
WriteReadyHandler
writeReady
in interface WriteReadyHandler
public void terminated()
TerminateHandler
terminated
in interface TerminateHandler
Copyright © 2018 JBoss by Red Hat. All rights reserved.