public class MgcpMessageEncoder extends io.netty.handler.codec.MessageToMessageEncoder<io.netty.channel.DefaultAddressedEnvelope<MgcpMessage,SocketAddress>>
DatagramPacket ready to be sent to remote peer over the network.| Modifier and Type | Field and Description |
|---|---|
static String |
PIPELINE_KEY |
| Constructor and Description |
|---|
MgcpMessageEncoder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.DefaultAddressedEnvelope<MgcpMessage,SocketAddress> msg,
List<Object> out) |
acceptOutboundMessage, writebind, close, connect, deregister, disconnect, flush, readexceptionCaught, handlerAdded, handlerRemoved, isSharablepublic static final String PIPELINE_KEY
protected void encode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.DefaultAddressedEnvelope<MgcpMessage,SocketAddress> msg,
List<Object> out)
throws Exception
encode in class io.netty.handler.codec.MessageToMessageEncoder<io.netty.channel.DefaultAddressedEnvelope<MgcpMessage,SocketAddress>>ExceptionCopyright © 2017 TeleStax, Inc.. All Rights Reserved.