Exemple #1
0
 public ConnectedClient(
     TcpClient client,
     ServerStub stub,
     AskHasher hasher,
     ISerializer serializer
     )
 {
     Guid        = System.Guid.NewGuid().ToString();
     _connection = new Connection(client);
     _hasher     = hasher;
     _stub       = stub;
     _ask        = new Asks(_stub, serializer);
 }
Exemple #2
0
 public EndPointMap(ISerializer serializer)
 {
     Serializer = serializer;
     Stub       = new ServerStub(serializer);
 }