com.realtime.xmpp.types
Interface XmppQuery

All Superinterfaces:
XmppStanza
All Known Implementing Classes:
HandshakeRequest, XmppWrapper

public interface XmppQuery
extends XmppStanza

Extends the basic XMPP stanza by requiring an 'id' field which will be used to match the expected response to this query.

Version:
1.0 Copyright © 2002 Real Time Entertainment Group, LLC - All rights reserved.
Author:
Mike Prince

Method Summary
 java.lang.String getId()
          Provide the 'id' field.
 
Methods inherited from interface com.realtime.xmpp.types.XmppStanza
asXML
 

Method Detail

getId

public java.lang.String getId()

Provide the 'id' field. This is usually used to match an incoming stanza to the outgoing stanza that triggered it.

Returns:
The contents of the 'id' field, or null if the field was not provided. Only in rare cases should this be null. Sending mechanisms are free to associate the next incoming packet to this one, when the id field is null.


Copyright © 2002,2003 Real Time Entertainment Group, LLC. All Rights Reserved.