@ChannelHandler.Sharable
public class OutboundEnvelopeEncoder
extends io.netty.channel.ChannelOutboundHandlerAdapter
| Modifier and Type | Field and Description |
|---|---|
static int |
HEADER_SIZE |
static int |
MAGIC_NUMBER |
| Constructor and Description |
|---|
OutboundEnvelopeEncoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
write(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.channel.ChannelPromise promise) |
bind, close, connect, deregister, disconnect, flush, readexceptionCaught, handlerAdded, handlerRemoved, isSharablepublic static final int HEADER_SIZE
public static final int MAGIC_NUMBER
public void write(io.netty.channel.ChannelHandlerContext ctx,
Object msg,
io.netty.channel.ChannelPromise promise)
throws Exception
write in interface io.netty.channel.ChannelOutboundHandlerwrite in class io.netty.channel.ChannelOutboundHandlerAdapterExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.