akka.remote.testconductor
Class MsgEncoder

java.lang.Object
  extended by org.jboss.netty.handler.codec.oneone.OneToOneEncoder
      extended by akka.remote.testconductor.MsgEncoder

public class MsgEncoder
extends org.jboss.netty.handler.codec.oneone.OneToOneEncoder


Constructor Summary
MsgEncoder()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MsgEncoder

public MsgEncoder()
Method Detail

address2proto

public TestConductorProtocol.Address address2proto(Address addr)

direction2proto

public TestConductorProtocol.Direction direction2proto(ThrottlerTransportAdapter.Direction dir)

encode

public java.lang.Object encode(org.jboss.netty.channel.ChannelHandlerContext ctx,
                               org.jboss.netty.channel.Channel ch,
                               java.lang.Object msg)