C# Class Microsoft.Samples.ServiceBus.Connections.TcpClientConnectionForwarder

Inheritance: IDisposable, IClientConnectionForwarder
Mostra file Open project: RobBlackwell/PortBridge

Public Methods

Method Description
Close ( ) : void
Dispose ( ) : void
Open ( ) : void
TcpClientConnectionForwarder ( string serviceNamespace, string issuerName, string issuerSecret, string targetHost, int fromPort, int toPort, string bindTo, bool useHybrid, IEnumerable firewallRules ) : System

Private Methods

Method Description
ClientAccepted ( IAsyncResult asyncResult ) : void
CorrelateConnection ( int connectionId, object state ) : MultiplexedConnection
CreateClientBinding ( bool useHybrid ) : NetTcpRelayBinding
CreateDataChannelFactory ( Microsoft.Samples.ServiceBus.Connections.QueueBufferedStream multiplexedInputStream ) : DuplexChannelFactory
DataChannelClosed ( object sender, EventArgs e ) : void
EnsureConnection ( ) : void
MultiplexPumpCompleted ( IAsyncResult a ) : void
MultiplexedConnectionClosed ( object sender, EventArgs e ) : void
WriteToDataChannel ( byte b, int o, int s ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Open() public method

public Open ( ) : void
return void

TcpClientConnectionForwarder() public method

public TcpClientConnectionForwarder ( string serviceNamespace, string issuerName, string issuerSecret, string targetHost, int fromPort, int toPort, string bindTo, bool useHybrid, IEnumerable firewallRules ) : System
serviceNamespace string
issuerName string
issuerSecret string
targetHost string
fromPort int
toPort int
bindTo string
useHybrid bool
firewallRules IEnumerable
return System