public class FlexibleOfflineMessageRetrieval extends AbstractIQModule
| Modifier and Type | Class and Description |
|---|---|
static class |
FlexibleOfflineMessageRetrieval.FlexibleOfflineMessageItemsAsyncCallback |
static class |
FlexibleOfflineMessageRetrieval.Item |
| Modifier and Type | Field and Description |
|---|---|
static String |
FLEXIBLE_OFFLINE_MODE_KEY |
static String |
FLEXIBLE_OFFLINE_XMLNS |
context, log| Constructor and Description |
|---|
FlexibleOfflineMessageRetrieval() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRegister()
Called when module is registered.
|
void |
fetchOfflineMessages(AsyncCallback asyncCallback) |
Criteria |
getCriteria()
Criteria
|
String[] |
getFeatures()
Returns features what are implemented by Module.
|
void |
getOfflineMessages(ArrayList<FlexibleOfflineMessageRetrieval.Item> items,
AsyncCallback asyncCallback) |
void |
getOfflineMessagesInfo(AsyncCallback asyncCallback) |
void |
getOfflineMessagesItems(AsyncCallback asyncCallback) |
protected void |
processGet(IQ element)
Method for processing stanza
<iq type='get'>. |
protected void |
processSet(IQ element)
Method for processing stanza
<iq type='set'>. |
void |
purgeOfflineMessages(AsyncCallback asyncCallback) |
void |
removeOfflineMessages(ArrayList<FlexibleOfflineMessageRetrieval.Item> items,
AsyncCallback asyncCallback) |
processaddExtension, getExtensionChain, getFeaturesWithExtensions, removeExtension, write, write, writebeforeRegister, beforeUnregister, fireEvent, getFirstChild, process, setContextpublic static final String FLEXIBLE_OFFLINE_MODE_KEY
public static final String FLEXIBLE_OFFLINE_XMLNS
public void afterRegister()
InitializingModuleafterRegister in interface InitializingModuleafterRegister in class AbstractStanzaModule<IQ>public void fetchOfflineMessages(AsyncCallback asyncCallback) throws JaxmppException
JaxmppExceptionpublic Criteria getCriteria()
XmppModulepublic String[] getFeatures()
XmppModuleReturns features what are implemented by Module.
public void getOfflineMessages(ArrayList<FlexibleOfflineMessageRetrieval.Item> items, AsyncCallback asyncCallback) throws JaxmppException
JaxmppExceptionpublic void getOfflineMessagesInfo(AsyncCallback asyncCallback) throws JaxmppException
JaxmppExceptionpublic void getOfflineMessagesItems(AsyncCallback asyncCallback) throws JaxmppException
JaxmppExceptionprotected void processGet(IQ element) throws JaxmppException
AbstractIQModule<iq type='get'>.processGet in class AbstractIQModuleelement - incoming XMPP stanzaJaxmppExceptionprotected void processSet(IQ element) throws JaxmppException
AbstractIQModule<iq type='set'>.processSet in class AbstractIQModuleelement - incoming XMPP stanzaJaxmppExceptionpublic void purgeOfflineMessages(AsyncCallback asyncCallback) throws JaxmppException
JaxmppExceptionpublic void removeOfflineMessages(ArrayList<FlexibleOfflineMessageRetrieval.Item> items, AsyncCallback asyncCallback) throws JaxmppException
JaxmppExceptionCopyright © 2006–2020 Tigase. All rights reserved.