com.caucho.xmpp.disco
Class DiscoInfoQuery
java.lang.Object
com.caucho.xmpp.disco.DiscoInfoQuery
- All Implemented Interfaces:
- java.io.Serializable
public class DiscoInfoQuery
- extends java.lang.Object
- implements java.io.Serializable
service discovery query
XEP-0030: http://www.xmpp.org/extensions/xep-0030.html
namespace = http://jabber.org/protocol/disco#info
element query {
attribute node?,
identity*,
feature*
}
element identity {
attribute category,
attribute name?,
attribute type
}
element feature {
attribute var
}
Well known nodes:
- http://jabber.org/protocol/amp
- http://jabber.org/protocol/commands
- http://jabber.org/protocol/muc#rooms
- http://jabber.org/protocol/muc#traffic
- pubsub/nodes
- x-roomuser-item
- See Also:
- Serialized Form
|
Field Summary |
static java.lang.String |
FEATURE
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FEATURE
public static final java.lang.String FEATURE
- See Also:
- Constant Field Values
DiscoInfoQuery
public DiscoInfoQuery()
DiscoInfoQuery
public DiscoInfoQuery(java.lang.String node)
DiscoInfoQuery
public DiscoInfoQuery(DiscoIdentity[] identity,
DiscoFeature[] features)
DiscoInfoQuery
public DiscoInfoQuery(java.lang.String node,
DiscoIdentity[] identity,
DiscoFeature[] features)
getNode
public java.lang.String getNode()
getFeature
public DiscoFeature[] getFeature()
setFeature
public void setFeature(DiscoFeature[] feature)
setFeatureList
public void setFeatureList(java.util.ArrayList<DiscoFeature> featureList)
getIdentity
public DiscoIdentity[] getIdentity()
setIdentity
public void setIdentity(DiscoIdentity[] identity)
setIdentityList
public void setIdentityList(java.util.ArrayList<DiscoIdentity> identityList)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object