public class AddClientMessageFilter extends BaseFilter
AddResponseMessage
and serializing AddRequestMessage
.Constructor and Description |
---|
AddClientMessageFilter() |
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
public NextAction handleRead(FilterChainContext ctx) throws IOException
handleRead
in interface Filter
handleRead
in class BaseFilter
ctx
- Context of FilterChainContext
processingIOException
public NextAction handleWrite(FilterChainContext ctx) throws IOException
handleWrite
in interface Filter
handleWrite
in class BaseFilter
ctx
- Context of FilterChainContext
processingIOException
Copyright © 2015 Oracle Corporation. All rights reserved.