public class MsgEncoder
extends org.jboss.netty.handler.codec.oneone.OneToOneEncoder
| Constructor and Description |
|---|
MsgEncoder() |
| Modifier and Type | Method and Description |
|---|---|
TestConductorProtocol.Address |
address2proto(Address addr) |
TestConductorProtocol.Direction |
direction2proto(ThrottlerTransportAdapter.Direction dir) |
java.lang.Object |
encode(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.Channel ch,
java.lang.Object msg) |
public TestConductorProtocol.Address address2proto(Address addr)
public TestConductorProtocol.Direction direction2proto(ThrottlerTransportAdapter.Direction dir)
public java.lang.Object encode(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.Channel ch,
java.lang.Object msg)
encode in class org.jboss.netty.handler.codec.oneone.OneToOneEncoder