protected override IAsyncResult BeginAcceptPooledConnection(IConnection connection, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state)
 {
     this.decoder = new ClientSingletonDecoder(0L);
     return new SendPreambleAsyncResult(this.channel, connection, ref timeoutHelper, this.decoder, callback, state);
 }
 protected override IConnection AcceptPooledConnection(IConnection connection, ref TimeoutHelper timeoutHelper)
 {
     this.decoder = new ClientSingletonDecoder(0L);
     return this.channel.SendPreamble(connection, ref timeoutHelper, this.decoder, out this.remoteSecurity);
 }
 protected override Task <IConnection> AcceptPooledConnectionAsync(IConnection connection, ref TimeoutHelper timeoutHelper)
 {
     _decoder = new ClientSingletonDecoder(0);
     return(_channel.SendPreambleAsync(connection, timeoutHelper, _decoder));
 }
 protected override IConnection AcceptPooledConnection(IConnection connection, ref TimeoutHelper timeoutHelper)
 {
     _decoder = new ClientSingletonDecoder(0);
     return(_channel.SendPreamble(connection, ref timeoutHelper, _decoder, out _remoteSecurity));
 }
 protected override IAsyncResult BeginAcceptPooledConnection(IConnection connection, ref TimeoutHelper timeoutHelper, AsyncCallback callback, object state)
 {
     this.decoder = new ClientSingletonDecoder(0);
     return(new SendPreambleAsyncResult(channel, connection, ref timeoutHelper, decoder, callback, state));
 }
 protected override Task<IConnection> AcceptPooledConnectionAsync(IConnection connection, ref TimeoutHelper timeoutHelper)
 {
     _decoder = new ClientSingletonDecoder(0);
     return _channel.SendPreambleAsync(connection, timeoutHelper, _decoder);
 }