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