Example #1
0
 public RemoteConnection(IConnection underlyingConnection, IHeliosConnectionHandler handler) : base(underlyingConnection)
 {
     _msgDecoder      = new MsgDecoder();
     _msgEncoder      = new MsgEncoder();
     _protobufDecoder = new ProtobufDecoder(TCP.Wrapper.DefaultInstance);
     _handler         = handler;
 }
 public RemoteConnection(IConnection underlyingConnection, IHeliosConnectionHandler handler) : base(underlyingConnection)
 {
     _msgDecoder = new MsgDecoder();
     _msgEncoder = new MsgEncoder();
     _protobufDecoder = new ProtobufDecoder(TCP.Wrapper.DefaultInstance);
     _handler = handler;
 }