public class AddServerMessageFilter extends BaseFilter
AddRequestMessage and serializing AddResponseMessage.| Constructor and Description |
|---|
AddServerMessageFilter() |
| Modifier and Type | Method and Description |
|---|---|
NextAction |
handleRead(FilterChainContext ctx)
Handle just read operation, when some message has come and ready to be
processed.
|
NextAction |
handleWrite(FilterChainContext ctx)
Method is called, when we write a data to the Connection.
|
createContext, exceptionOccurred, handleAccept, handleClose, handleConnect, handleEvent, onAdded, onFilterChainChanged, onRemoved, toStringpublic NextAction handleRead(FilterChainContext ctx) throws IOException
handleRead in interface FilterhandleRead in class BaseFilterctx - Context of FilterChainContext processingIOExceptionpublic NextAction handleWrite(FilterChainContext ctx) throws IOException
handleWrite in interface FilterhandleWrite in class BaseFilterctx - Context of FilterChainContext processingIOExceptionCopyright © 2016 Oracle Corporation. All rights reserved.