public TransportClient(
     ITransmissionClient transmissionClient,
     ITransportProtocolSerializationProvider serializationProvider)
 {
     _transmissionClient = transmissionClient;
     _connectionFactory  = new TransportConnectionFactory(serializationProvider);
 }
Exemple #2
0
 public TransportServer(
     ITransmissionServer transmissionServer,
     ITransportProtocolSerializationProvider serializationProvider)
 {
     _connectionFactory  = new TransportConnectionFactory(serializationProvider);
     _transmissionServer = transmissionServer;
     _buffer.Out.PropagateCompletionFrom(Completion);
     OnStop(_transmissionServer.Stop);
 }