Description
-
Fires when wodSSHTunnel disconnects from the server.
Syntax
-
Private Sub
object_Disconnected(ErrorCode,
ErrorText)
The Disconnected Event syntax has these parts:
| object |
A wodTunnel
object. |
| ErrorCode |
An Integer value.
Holds the error number or 0 if no error occurred. |
| ErrorText |
A String value. Text
description of the error. |
Remarks
-
When this event is fired, it means that wodSSHTunnel has
lost connection with the SSH server. You cannot forward
channels until you Connect to
an SSH server again.
The ErrorCode and ErrorText arguments will provide information on
why disconnection occurred. If you initiated it (using
Disconnect
method), they will be empty (or 0).
|