Description
-
Called before new command leaves client socket..
Return Type
-
None
Syntax
-
object.PreTranslateCommand Owner,
Command
The PreTranslateCommand Method syntax has these
parts:
| object |
An expression evaluating to an object
of type IwodXMPPNotify. |
| Owner |
Required. A wodXMPP object. |
| Command |
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
commands that are sent to server before they are actually
transmitted. At this point, you can change this data and it
will be sent as you define it - without wodXMPP
knowing anything about it. Remote side will receive your
changes.
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.
|