ServiceRegister Method
      
 

Description

Called when result is received for service register attempt.


Return Type

None  


Syntax

object.ServiceRegister Owner, Service, Success, Instructions



The ServiceRegister Method syntax has these parts:

Part Description
object An expression evaluating to an object of type IwodXMPPNotify.
Owner Required. A wodXMPP object.
Service Required. A XMPPService object.
Success Required. A Boolean value.
Instructions Required. A String value.

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.

Called each time an attempt to register some service is made. This notification method is also triggered as a result of executing RegisterInfo method for some specific Service. Using provided arguments you can determine if further steps are required in registration. For example, if Success is set to False you may review value of Instructions property to see what do you need to provide in order to register the service successfully.