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) |
process
addExtension, getExtensionChain, getFeaturesWithExtensions, removeExtension, write, write, write
beforeRegister, beforeUnregister, fireEvent, getFirstChild, process, setContext
public static final String FLEXIBLE_OFFLINE_MODE_KEY
public static final String FLEXIBLE_OFFLINE_XMLNS
public void afterRegister()
InitializingModule
afterRegister
in interface InitializingModule
afterRegister
in class AbstractStanzaModule<IQ>
public void fetchOfflineMessages(AsyncCallback asyncCallback) throws JaxmppException
JaxmppException
public Criteria getCriteria()
XmppModule
public String[] getFeatures()
XmppModule
Returns features what are implemented by Module.
public void getOfflineMessages(ArrayList<FlexibleOfflineMessageRetrieval.Item> items, AsyncCallback asyncCallback) throws JaxmppException
JaxmppException
public void getOfflineMessagesInfo(AsyncCallback asyncCallback) throws JaxmppException
JaxmppException
public void getOfflineMessagesItems(AsyncCallback asyncCallback) throws JaxmppException
JaxmppException
protected void processGet(IQ element) throws JaxmppException
AbstractIQModule
<iq type='get'>
.processGet
in class AbstractIQModule
element
- incoming XMPP stanzaJaxmppException
protected void processSet(IQ element) throws JaxmppException
AbstractIQModule
<iq type='set'>
.processSet
in class AbstractIQModule
element
- incoming XMPP stanzaJaxmppException
public void purgeOfflineMessages(AsyncCallback asyncCallback) throws JaxmppException
JaxmppException
public void removeOfflineMessages(ArrayList<FlexibleOfflineMessageRetrieval.Item> items, AsyncCallback asyncCallback) throws JaxmppException
JaxmppException
Copyright © 2006–2023 Tigase. All rights reserved.