Method | Description | |
---|---|---|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
ForwardedPortRemote ( |
Initializes a new instance of the ForwardedPortRemote class.
|
|
ForwardedPortRemote ( string boundHost, uint boundPort, string host, uint port ) : System |
Initializes a new instance of the ForwardedPortRemote class.
|
|
ForwardedPortRemote ( uint boundPort, string host, uint port ) : System |
Initializes a new instance of the ForwardedPortRemote class.
|
Method | Description | |
---|---|---|
CheckDisposed ( ) : void |
Ensures the current instance is not disposed.
|
|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources
|
|
StartPort ( ) : void |
Starts remote port forwarding.
|
|
StopPort ( System.TimeSpan timeout ) : void |
Stops remote port forwarding.
|
Method | Description | |
---|---|---|
Channel_Exception ( object sender, ExceptionEventArgs exceptionEventArgs ) : void | ||
InitializePendingChannelCountdown ( ) : void |
Initializes the CountdownEvent. When the port is started for the first time, a CountdownEvent is created with an initial count of On subsequent (re)starts, we'll dispose the current CountdownEvent and create a new one with initial count of |
|
Session_ChannelOpening ( object sender, MessageEventArgs |
||
Session_RequestFailure ( object sender, |
||
Session_RequestSuccess ( object sender, MessageEventArgs |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
return | void |
public ForwardedPortRemote ( |
||
boundHostAddress | The bound host address. | |
boundPort | uint | The bound port. |
hostAddress | The host address. | |
port | uint | The port. |
return | System |
public ForwardedPortRemote ( string boundHost, uint boundPort, string host, uint port ) : System | ||
boundHost | string | The bound host. |
boundPort | uint | The bound port. |
host | string | The host. |
port | uint | The port. |
return | System |
public ForwardedPortRemote ( uint boundPort, string host, uint port ) : System | ||
boundPort | uint | The bound port. |
host | string | The host. |
port | uint | The port. |
return | System |
protected StopPort ( System.TimeSpan timeout ) : void | ||
timeout | System.TimeSpan | The maximum amount of time to wait for the port to stop. |
return | void |