|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.jaxmpp.core.client.xmpp.modules.AbstractIQModule
tigase.jaxmpp.core.client.xmpp.modules.SoftwareVersionModule
public class SoftwareVersionModule
Implementation of XEP-0092: Software Version.
| Nested Class Summary | |
|---|---|
static class |
SoftwareVersionModule.SoftwareVersionAsyncCallback
Software version callback. |
| Field Summary | |
|---|---|
static String |
DEFAULT_NAME_VAL
Default software name. |
static String |
NAME_KEY
Key to keep software name in SessionObject. |
static String |
OS_KEY
Key to keep operating system name in SessionObject. |
static String |
VERSION_KEY
Key to keep software version in SessionObject. |
| Fields inherited from class tigase.jaxmpp.core.client.xmpp.modules.AbstractIQModule |
|---|
log, observable, sessionObject, writer |
| Constructor Summary | |
|---|---|
SoftwareVersionModule(Observable parentObservable,
SessionObject sessionObject,
PacketWriter packetWriter)
|
|
| Method Summary | |
|---|---|
void |
checkSoftwareVersion(JID jid,
AsyncCallback callback)
Requests software version for given entity. |
void |
checkSoftwareVersion(JID jid,
SoftwareVersionModule.SoftwareVersionAsyncCallback callback)
Requests software version for given entity. |
Criteria |
getCriteria()
Criteria |
String[] |
getFeatures()
Returns features what are implemented by Module. |
protected void |
processGet(IQ element)
Method for processing stanza <iq type='get'>. |
protected void |
processSet(IQ element)
Method for processing stanza <iq type='set'>. |
| Methods inherited from class tigase.jaxmpp.core.client.xmpp.modules.AbstractIQModule |
|---|
addListener, addListener, process, removeAllListeners, removeListener, removeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_NAME_VAL
public static final String NAME_KEY
SessionObject.
public static final String OS_KEY
SessionObject.
public static final String VERSION_KEY
SessionObject.
| Constructor Detail |
|---|
public SoftwareVersionModule(Observable parentObservable,
SessionObject sessionObject,
PacketWriter packetWriter)
| Method Detail |
|---|
public void checkSoftwareVersion(JID jid,
AsyncCallback callback)
throws JaxmppException
jid - entitycallback - general callback
JaxmppException
public void checkSoftwareVersion(JID jid,
SoftwareVersionModule.SoftwareVersionAsyncCallback callback)
throws XMLException,
JaxmppException
jid - entitycallback - software version callback
XMLException
JaxmppExceptionpublic Criteria getCriteria()
XmppModule
public String[] getFeatures()
XmppModuleReturns features what are implemented by Module.
See Service Discovery Features
protected void processGet(IQ element)
throws XMPPException,
XMLException,
JaxmppException
AbstractIQModule<iq type='get'>.
processGet in class AbstractIQModuleelement - incoming XMPP stanza
XMPPException
XMLException
JaxmppException
protected void processSet(IQ element)
throws XMPPException,
XMLException,
JaxmppException
AbstractIQModule<iq type='set'>.
processSet in class AbstractIQModuleelement - incoming XMPP stanza
XMPPException
XMLException
JaxmppException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||