Back to product page

UnhandledIQ event


Fires when unhandled IQ element is received.

Syntax

  • Basic
Private Sub object_UnhandledIQ (ByVal JID, ByVal IqType, ByVal ID, ByRef Tag)
The UnhandledIQ(JID,IqType,ID,Tag) syntax has these parts:
JIDA String value. Holds JID that sent IQ packet.
IqTypeIqTypes enumeration
IDA String value. Holds ID of the packet, if set.
TagXMPPTag object

Remarks

The Event is triggered when IQ XML packet arrives from the server, but wodXMPP ignores it since it doesn't implement certain feature. This allow you to react on IQ packet and send back response. You can, of course, ignore this event and wodXMPP will not send any response back.

wodXMPP will try to help you by parsing incoming XML data to collection of one or more Tag elements - stored in tree-alike structure in Tags collection. You should go through provided Tags collection to see all of them, or search one you're interested in. Please note that not all elements are part of parent Tags collection - each tag element can contain zero or more children (and so on..) going deep.

Platforms

Windows