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