Esempio n. 1
0
 public StreamedFramingRequestContext(SingletonConnectionReader parent, Message requestMessage)
     : base(requestMessage, parent.transportSettings.CloseTimeout, parent.transportSettings.SendTimeout)
 {
     this.parent = parent;
     connection  = parent.connection;
     settings    = parent.transportSettings;
 }
Esempio n. 2
0
 public SingletonInputConnectionStream(SingletonConnectionReader reader, IConnection connection,
                                       IDefaultCommunicationTimeouts defaultTimeouts)
     : base(connection, defaultTimeouts)
 {
     this.reader         = reader;
     decoder             = new SingletonMessageDecoder(reader.StreamPosition);
     chunkBytesRemaining = 0;
     chunkBuffer         = new byte[IntEncoder.MaxEncodedSize];
 }