메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |
public ForwardedPortRemote ( |
||
boundHostAddress | The bound host address. | |
boundPort | uint | The bound port. |
hostAddress | The host address. | |
port | uint | The port. |
리턴 | 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. |
리턴 | System |
public ForwardedPortRemote ( uint boundPort, string host, uint port ) : System | ||
boundPort | uint | The bound port. |
host | string | The host. |
port | uint | The port. |
리턴 | System |
protected StopPort ( System.TimeSpan timeout ) : void | ||
timeout | System.TimeSpan | The maximum amount of time to wait for the port to stop. |
리턴 | void |