Back to product page

Disconnected callback method


Called when wodXMPP disconnects from server.

Syntax

  • Basic
object.Disconnected (Owner, ErrorCode, ErrorText)
The Disconnected(object,Owner,ErrorCode,ErrorText) syntax has these parts:
objectAn expression evaluating to an object of type IwodXMPPNotify
OwnerAn expression evaluating to an object of type wodXMPP
ErrorCodeA Long value. A Long value. Holds error number that occurred, if any.
ErrorTextA String value. A String value. Holds test description of the error.

Remarks

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

After this notification method is called, you are free to set up wodXMPP properties again and issue Connect again.

Platforms

Windows