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); }
public EndPointMap(ISerializer serializer) { Serializer = serializer; Stub = new ServerStub(serializer); }