Description
-
Fires when a user connects to the listening channel.
Syntax
-
Private Sub
object_UserStateChange(Chan,
User, OldState)
The UserStateChange Event syntax has these parts:
| object |
A wodTunnel
object. |
| Chan |
A Channel object.
Reference to the channel where the user connected. |
| User |
An User object. Reference
to user that connected. |
| OldState |
A StatesEnum
enumeration, as described in settings. Holds the previous
state. |
Remarks
-
The UserStateChange event is fired when state changes for the
user. It will fire, for example, when user starts sending data,
receives data etc.. Since wodSSHTunnel component is unable to
determine exact time where data is no longer received/sent (i.e.
user pauses his transfer), state will revert to Connected-Idle
after approx. 3 seconds of last state change.
|