Description
-
Fires when a user disconnects from a channel.
Syntax
-
Private Sub
object_UserDisconnected(Chan,
User, ErrorCode,
ErrorText)
The UserDisconnected Event syntax has these parts:
| object |
A wodTunnel
object. |
| Chan |
A Channel object.
Reference to the channel that was used. |
| User |
An User object. Reference
to the user that disconnected. |
| ErrorCode |
An Integer value.
Specifies the error that occurred, if any. |
| ErrorText |
A String value. Text
description of the error, if any. |
Remarks
-
This event is fired 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 result of an error, the ErrorCode and ErrorText
arguments will be filled with a description of the error.
|