Description
-
Called when specific channel has stopped.
Return Type
-
None
Syntax
-
object.ChannelStop Owner,
Chan, ErrorCode, ErrorText
The ChannelStop Method syntax has these parts:
| object |
An expression
evaluating to an object of type wodTunnelNotify. |
| Owner |
Required. A wodTunnelCom object.
Reference to wodTunnelCom instance that called this
notification method. |
| Chan |
Required. A Channel object.
Reference to channel that was stopped. |
| ErrorCode |
Required. An Integer
value. Error code that occurred, or 0 if none. |
| ErrorText |
Required. A String
value. Text description of error that occurred, if
any. |
Remarks
-
This method is called only if you have
implemented the IwodSSHTunnelNotify interface in your
application and the wodTunnel1.Notification
property has received a reference to an
instance of your implementation.
ChannelStop notification method is called when
wodSSHTunnel stops accepting new users on a specific
channel. It can also be invoked when Start is called
but wodSSHTunnel is unable to start listening on the defined
Port (for the LocalListen type) or receives a
failure response from the SSH server upon a listening request (for the
RemoteListen type).
|