public class OfflineMessageStrategy extends BasicModule implements ServerFeaturesProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
OfflineMessageStrategy.Type
Strategy types.
|
| Constructor and Description |
|---|
OfflineMessageStrategy() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addListener(OfflineMessageListener listener)
Registers a listener to receive events.
|
Iterator<String> |
getFeatures()
Returns an Iterator (of String) with the supported features by the server.
|
int |
getQuota() |
OfflineMessageStrategy.Type |
getType() |
void |
initialize(XMPPServer server)
Initializes the basic module.
|
static void |
removeListener(OfflineMessageListener listener)
Unregisters a listener to receive events.
|
void |
setQuota(int quota) |
void |
setType(OfflineMessageStrategy.Type type) |
void |
storeOffline(org.xmpp.packet.Message message) |
destroy, getName, start, stoppublic int getQuota()
public void setQuota(int quota)
public OfflineMessageStrategy.Type getType()
public void setType(OfflineMessageStrategy.Type type)
public void storeOffline(org.xmpp.packet.Message message)
public static void addListener(OfflineMessageListener listener)
listener - the listener.public static void removeListener(OfflineMessageListener listener)
listener - the listener.public void initialize(XMPPServer server)
BasicModuleInitializes the basic module.
Inheriting classes that choose to override this method MUST call this initialize() method before accessing BasicModule resources.
initialize in interface Moduleinitialize in class BasicModuleserver - the server hosting this module.public Iterator<String> getFeatures()
ServerFeaturesProvidergetFeatures in interface ServerFeaturesProviderCopyright © 2003-2008 Jive Software.