|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IXmppItem
Method Summary | |
---|---|
void |
discoverAsync(IDiscoListener listener)
Starts asynchronous discovery of the XMPP item. |
IXmppItem |
discoverSync(long millis)
Starts synchronous discovery of the XMPP item. |
java.lang.String |
getDescription()
Returns the description of the XMPP item if available, otherwise "". |
XmppException |
getDiscoError()
Returns the last XmppException that occurred after discovering the of the XMPP item was started if available, otherwise null. |
DiscoStatus |
getDiscoStatus()
Returns the DiscoStatus of the XMPP item. |
Info |
getInfo()
Returns the Info of the XMPP item if available, otherwise null. |
Items |
getItems()
Returns the Items of the XMPP item if available, otherwise null. |
java.lang.String |
getJid()
Returns the JID of the XMPP item. |
java.lang.String |
getNode()
Returns the node name of the XMPP item if available, otherwise "". |
java.lang.String |
toString()
Returns a String with the JID, node name, and description. |
Method Detail |
---|
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String getJid()
java.lang.String getNode()
java.lang.String getDescription()
Info getInfo() throws XwsException
XwsException
Items getItems() throws XwsException
XwsException
XmppException getDiscoError()
DiscoStatus getDiscoStatus()
void discoverAsync(IDiscoListener listener) throws XmppException, XwsException
listener
- The listener to be informed.
XmppException
XwsException
IXmppItem discoverSync(long millis) throws XmppException, XwsException, java.lang.InterruptedException
millis
- The timeout in milliseconds.
XmppException
XwsException
java.lang.InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |