wodSSHServer ActiveX Control - Disconnected Method
      
 

Description

Called when user leaves the server.


Return Type

None  


Syntax

object.Disconnected Owner, User



The Disconnected Method syntax has these parts:

Part Description
object An expression evaluating to an object of type wodSSHD-Notifications.
Owner A wodSSHDCom object. Instance of wodSSHServer that called this notification method.
User A SSHUser object. Reference to user who left the server.

Remarks

This method is called only if you implemented IwodSSHNotify interface in your application, and wodSSHD.Notification property has received reference to instance of your implementation.

At this point Users.Count property will still have information about this user which will be decremented as soon as this notification method is left. For example, if there is only one user on your system and he disconnects, Users.Count will have value 1 at the time this notification method is called, even if user already disconnected. This is left so you can make some changes or save state information for the user.