Back to product page

UnhandledIQ callback method


Called when unhandled IQ element is received.

Syntax

  • Basic
object.UnhandledIQ (Owner, JID, IqType, ID, Tags)
The UnhandledIQ(object,Owner,JID,IqType,ID,Tags) syntax has these parts:
objectAn expression evaluating to an object of type IwodXMPPNotify
OwnerAn expression evaluating to an object of type wodXMPP
JIDA String value. Holds JID that sent IQ packet.
IqTypeIqTypes enumeration
IDA String value. Holds ID of the packet, if set.
TagsXMPPTag object

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.

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