Description
-
Called when a user disconnects from a channel.
Return Type
-
None
Syntax
-
object.UserDisconnected Owner,
Chan, User, ErrorCode,
ErrorText
The UserDisconnected Method syntax has these parts:
| object |
An expression
evaluating to an object of type wodTunnelNotify. |
| Owner |
Required. A wodTunnelCom object.
Reference to the wodTunnelCom instance that called this
notification method. |
| Chan |
Required. A Channel object.
Reference to the channel that was used. |
| User |
Required. An User object. Reference
to the user that disconnected. |
| ErrorCode |
Required. An Integer
value. Specifies the error that occurred, if any. |
| ErrorText |
Required. A String
value. Text description of the error, 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.
This notification method is called when a user leaves a
channel. At this point they will be removed from the collection
of all connected users, so this is last chance to inspect
information about the user.
If disconnection was the result of an error, the ErrorCode and ErrorText
arguments will be filled with description of the
error.
|