Connected Method
      
 

Description

Called when wodXMPP connects to remote server.


Return Type

None  


Syntax

object.Connected Owner



The Connected Method syntax has these parts:

Part Description
object An expression evaluating to an object of type IwodXMPPNotify.
Owner Required. A wodXMPP object.

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.

Connected notification method will be called after Connect method is issued and wodXMPP successfully connects to the server. If connection fails (for whatever reason, such as bad password) Disconnected notification method will be called instead.

It is possible that wodXMPP will internally negotiate connection parameters, before Connected event is fired at all. This is done to make wodXMPP as much transparent to protocol used as possible. You might notice packets transmitted to/from server in the meantime, meaning wodXMPP connected already but is still negotiating protocol parameters.