public ServerSingletonConnectionReader(ServerSingletonPreambleConnectionReader preambleReader, IConnection upgradedConnection, ConnectionDemuxer connectionDemuxer) : base(upgradedConnection, preambleReader.BufferOffset, preambleReader.BufferSize, preambleReader.Security, preambleReader.TransportSettings, preambleReader.Via)
 {
     this.decoder             = preambleReader.Decoder;
     this.contentType         = this.decoder.ContentType;
     this.connectionDemuxer   = connectionDemuxer;
     this.rawConnection       = preambleReader.RawConnection;
     this.channelBindingToken = preambleReader.ChannelBinding;
 }
 public ListenerSingletonConnectionReader(IConnection connection, 
     Action connectionDequeuedCallback, TransportType transportType, 
     long streamPosition, int offset, int size, 
     ConnectionClosedCallback closedCallback, ViaDecodedCallback viaDecodedCallback)
     : base(connection, connectionDequeuedCallback, transportType, offset, size, closedCallback, viaDecodedCallback)
 {
     this.decoder = new ServerSingletonDecoder(streamPosition, ListenerConstants.MaxUriSize, ListenerConstants.SharedMaxContentTypeSize);
 }
 public ServerSingletonConnectionReader(ServerSingletonPreambleConnectionReader preambleReader, IConnection upgradedConnection, ConnectionDemuxer connectionDemuxer) : base(upgradedConnection, preambleReader.BufferOffset, preambleReader.BufferSize, preambleReader.Security, preambleReader.TransportSettings, preambleReader.Via)
 {
     this.decoder = preambleReader.Decoder;
     this.contentType = this.decoder.ContentType;
     this.connectionDemuxer = connectionDemuxer;
     this.rawConnection = preambleReader.RawConnection;
     this.channelBindingToken = preambleReader.ChannelBinding;
 }
 public ServerSingletonPreambleConnectionReader(IConnection connection, Action connectionDequeuedCallback, long streamPosition, int offset, int size, TransportSettingsCallback transportSettingsCallback, ConnectionClosedCallback closedCallback, ServerSingletonPreambleCallback callback) : base(connection, closedCallback)
 {
     this.decoder  = new ServerSingletonDecoder(streamPosition, base.MaxViaSize, base.MaxContentTypeSize);
     this.offset   = offset;
     this.size     = size;
     this.callback = callback;
     this.transportSettingsCallback  = transportSettingsCallback;
     this.rawConnection              = connection;
     base.ConnectionDequeuedCallback = connectionDequeuedCallback;
 }
 public ServerSingletonPreambleConnectionReader(IConnection connection, Action connectionDequeuedCallback, long streamPosition, int offset, int size, TransportSettingsCallback transportSettingsCallback, ConnectionClosedCallback closedCallback, ServerSingletonPreambleCallback callback) : base(connection, closedCallback)
 {
     this.decoder = new ServerSingletonDecoder(streamPosition, base.MaxViaSize, base.MaxContentTypeSize);
     this.offset = offset;
     this.size = size;
     this.callback = callback;
     this.transportSettingsCallback = transportSettingsCallback;
     this.rawConnection = connection;
     base.ConnectionDequeuedCallback = connectionDequeuedCallback;
 }