C
- the channel typepublic static class TerminateHandler.ChannelListenerHandler<C extends Channel & CloseListenerSettable<C>> extends Object implements TerminateHandler
TerminateHandler.ChannelListenerHandler<C extends Channel & CloseListenerSettable<C>>, TerminateHandler.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.
|
public ChannelListenerHandler(C channel)
channel
- the channel to wrappublic void forceTermination()
TerminateHandler
forceTermination
in interface TerminateHandler
public void terminated()
TerminateHandler
terminated
in interface TerminateHandler
Copyright © 2017 JBoss by Red Hat. All rights reserved.