public class EntityTimeModule extends AbstractIQModule
| Modifier and Type | Class and Description |
|---|---|
static class |
EntityTimeModule.EntityTimeAsyncCallback
Ping callback.
|
context, log| Constructor and Description |
|---|
EntityTimeModule() |
| Modifier and Type | Method and Description |
|---|---|
Criteria |
getCriteria()
Criteria
|
void |
getEntityTime(JID jid,
AsyncCallback asyncCallback)
Request for XMPP entity time.
|
void |
getEntityTime(JID jid,
EntityTimeModule.EntityTimeAsyncCallback asyncCallback)
Request for XMPP entity time.
|
String[] |
getFeatures()
Returns features what are implemented by Module.
|
protected void |
processGet(IQ stanza)
Method for processing stanza
<iq type='get'>. |
protected void |
processSet(IQ stanza)
Method for processing stanza
<iq type='set'>. |
processaddExtension, getExtensionChain, getFeaturesWithExtensions, removeExtension, write, write, writeafterRegister, beforeRegister, beforeUnregister, fireEvent, getFirstChild, process, setContextpublic Criteria getCriteria()
XmppModulepublic void getEntityTime(JID jid, AsyncCallback asyncCallback) throws JaxmppException
jid - entity to request.asyncCallback - general callbackJaxmppExceptionpublic void getEntityTime(JID jid, EntityTimeModule.EntityTimeAsyncCallback asyncCallback) throws JaxmppException
jid - entity to request.asyncCallback - entity time callbackJaxmppExceptionpublic String[] getFeatures()
XmppModuleReturns features what are implemented by Module.
protected void processGet(IQ stanza) throws JaxmppException
AbstractIQModule<iq type='get'>.processGet in class AbstractIQModulestanza - incoming XMPP stanzaJaxmppExceptionprotected void processSet(IQ stanza) throws XMPPException, XMLException
AbstractIQModule<iq type='set'>.processSet in class AbstractIQModulestanza - incoming XMPP stanzaXMPPExceptionXMLExceptionCopyright © 2006–2016 Tigase. All rights reserved.