public final class TCPNIOTransportFilter extends BaseFilter
TCPNIOTransport's transport Filter implementation| Modifier and Type | Method and Description |
|---|---|
void |
exceptionOccurred(FilterChainContext ctx,
Throwable error)
Notification about exception, occurred on the
FilterChain |
NextAction |
handleEvent(FilterChainContext ctx,
FilterChainEvent event)
Handle custom event associated with the
Connection. |
NextAction |
handleRead(FilterChainContext ctx)
Execute a unit of processing work to be performed, when channel will
become available for reading.
|
NextAction |
handleWrite(FilterChainContext ctx)
Execute a unit of processing work to be performed, when some data should
be written on channel.
|
createContext, handleAccept, handleClose, handleConnect, onAdded, onFilterChainChanged, onRemoved, toStringpublic NextAction handleRead(FilterChainContext ctx) throws IOException
BaseFilterFilter may either complete the required processing and
return false, or delegate remaining processing to the next
Filter in a FilterChain containing this Filter
by returning true.handleRead in interface FilterhandleRead in class BaseFilterctx - FilterChainContextNextAction instruction for FilterChain, how it
should continue the executionIOExceptionpublic NextAction handleWrite(FilterChainContext ctx) throws IOException
BaseFilterFilter may either complete the required processing and
return false, or delegate remaining processing to the next
Filter in a FilterChain containing this Filter
by returning true.handleWrite in interface FilterhandleWrite in class BaseFilterctx - FilterChainContextNextAction instruction for FilterChain, how it
should continue the executionIOExceptionpublic NextAction handleEvent(FilterChainContext ctx, FilterChainEvent event) throws IOException
BaseFilterConnection.
This Filter may either complete the required processing and
return StopAction, or delegate remaining processing to the next
Filter in a FilterChain containing this Filter
by returning InvokeAction.handleEvent in interface FilterhandleEvent in class BaseFilterctx - FilterChainContextNextAction instruction for FilterChain, how it
should continue the executionIOExceptionpublic void exceptionOccurred(FilterChainContext ctx, Throwable error)
BaseFilterFilterChainexceptionOccurred in interface FilterexceptionOccurred in class BaseFilterctx - event processing FilterChainContexterror - error, which occurred during FilterChain executionCopyright © 2015 Oracle Corporation. All Rights Reserved.