public class NettyTOMMessageEncoder extends io.netty.handler.codec.MessageToByteEncoder<TOMMessage>
Constructor and Description |
---|
NettyTOMMessageEncoder(boolean isClient,
java.util.Map sessionTable,
int macLength,
java.util.concurrent.locks.ReentrantReadWriteLock rl,
int signatureLength,
boolean useMAC) |
Modifier and Type | Method and Description |
---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext context,
TOMMessage sm,
io.netty.buffer.ByteBuf buffer) |
acceptOutboundMessage, allocateBuffer, write
bind, close, connect, deregister, disconnect, flush, read
exceptionCaught, handlerAdded, handlerRemoved, isSharable
public NettyTOMMessageEncoder(boolean isClient, java.util.Map sessionTable, int macLength, java.util.concurrent.locks.ReentrantReadWriteLock rl, int signatureLength, boolean useMAC)
protected void encode(io.netty.channel.ChannelHandlerContext context, TOMMessage sm, io.netty.buffer.ByteBuf buffer) throws java.lang.Exception
encode
in class io.netty.handler.codec.MessageToByteEncoder<TOMMessage>
java.lang.Exception