PreTranslateReply Method
      
 

Description

Called before wodXMPP processes server's reply.


Return Type

None  


Syntax

object.PreTranslateReply Owner, Reply



The PreTranslateReply Method syntax has these parts:

Part Description
object An expression evaluating to an object of type IwodXMPPNotify.
Owner Required. A wodXMPP object.
Reply 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.

This notification method can be used for monitoring replies that server sent as a result from our commands, before it is actually processed by wodXMPP. At this point you can change Reply argument values to anything you like - and wodXMPP will think it received reply as you defined it here.

Beware - what you're doing here is dangerous for wodXMPP. You may break its internal mechanism of behavior, and strange results may occur. But - to provide you with more freedom over what's going on 'under the hood', we have provided this event for advanced users.