public SingletonInputConnectionStream(Microsoft.ServiceBus.Channels.SingletonConnectionReader reader, Microsoft.ServiceBus.Channels.IConnection connection, IDefaultCommunicationTimeouts defaultTimeouts) : base(connection, defaultTimeouts) { this.reader = reader; this.decoder = new Microsoft.ServiceBus.Channels.SingletonMessageDecoder(reader.StreamPosition); this.chunkBuffer = new byte[5]; }
public StreamedFramingRequestContext(Microsoft.ServiceBus.Channels.SingletonConnectionReader parent, Message requestMessage) : base(requestMessage, parent.transportSettings.CloseTimeout, parent.transportSettings.SendTimeout) { this.parent = parent; this.connection = parent.connection; this.settings = parent.transportSettings; }
public ReceiveAsyncResult(Microsoft.ServiceBus.Channels.SingletonConnectionReader parent, TimeSpan timeout, AsyncCallback callback, object state) : base(callback, state) { this.parent = parent; this.timeout = timeout; IOThreadScheduler.ScheduleCallbackNoFlow(Microsoft.ServiceBus.Channels.SingletonConnectionReader.ReceiveAsyncResult.onReceiveScheduled, this); }