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'> . |
process
addExtension, getExtensionChain, getFeaturesWithExtensions, removeExtension, write, write, write
afterRegister, beforeRegister, beforeUnregister, fireEvent, getFirstChild, process, setContext
public Criteria getCriteria()
XmppModule
public void getEntityTime(JID jid, AsyncCallback asyncCallback) throws JaxmppException
jid
- entity to request.asyncCallback
- general callbackJaxmppException
public void getEntityTime(JID jid, EntityTimeModule.EntityTimeAsyncCallback asyncCallback) throws JaxmppException
jid
- entity to request.asyncCallback
- entity time callbackJaxmppException
public String[] getFeatures()
XmppModule
Returns features what are implemented by Module.
protected void processGet(IQ stanza) throws JaxmppException
AbstractIQModule
<iq type='get'>
.processGet
in class AbstractIQModule
stanza
- incoming XMPP stanzaJaxmppException
protected void processSet(IQ stanza) throws XMPPException, XMLException
AbstractIQModule
<iq type='set'>
.processSet
in class AbstractIQModule
stanza
- incoming XMPP stanzaXMPPException
XMLException
Copyright © 2006–2023 Tigase. All rights reserved.