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