IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

PITrail Event

This event is fired for all protocol messages.

Syntax

xmpp.on('PITrail', [callback])

Callback

The 'callback' is called when the 'PITrail' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.direction
e.pi

Remarks

The PITrail event is useful for debugging purposes. It shows all the interaction between the client and the server, line by line.

SessionId will hold the session number that originated the PI. A value of 0 is reserved for all PI dealing with the IMServer.

The direction parameter shows the originator of the message:

0 (Client)Pi originates from the client.
1 (Server)Pi originates from the server.
2 (Info)Pi is an informative message originating from within the class.

The Pi parameter contains the PI message.

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0