public class SoftwareVersionModule extends AbstractIQModule
| Modifier and Type | Class and Description |
|---|---|
static class |
SoftwareVersionModule.SoftwareVersionAsyncCallback
Software version callback.
|
| Modifier and Type | Field and Description |
|---|---|
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. |
context, log| Constructor and Description |
|---|
SoftwareVersionModule() |
| Modifier and Type | Method and Description |
|---|---|
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'>. |
processaddExtension, getExtensionChain, getFeaturesWithExtensions, removeExtension, write, write, writeafterRegister, beforeRegister, beforeUnregister, fireEvent, getFirstChild, process, setContextpublic 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.public void checkSoftwareVersion(JID jid, AsyncCallback callback) throws JaxmppException
jid - entitycallback - general callbackJaxmppExceptionpublic void checkSoftwareVersion(JID jid, SoftwareVersionModule.SoftwareVersionAsyncCallback callback) throws XMLException, JaxmppException
jid - entitycallback - software version callbackXMLExceptionJaxmppExceptionpublic Criteria getCriteria()
XmppModulepublic String[] getFeatures()
XmppModuleReturns features what are implemented by Module.
protected void processGet(IQ element) throws XMPPException, XMLException, JaxmppException
AbstractIQModule<iq type='get'>.processGet in class AbstractIQModuleelement - incoming XMPP stanzaXMPPExceptionXMLExceptionJaxmppExceptionprotected void processSet(IQ element) throws XMPPException, XMLException, JaxmppException
AbstractIQModule<iq type='set'>.processSet in class AbstractIQModuleelement - incoming XMPP stanzaXMPPExceptionXMLExceptionJaxmppExceptionCopyright © 2006–2015 Tigase. All rights reserved.