org.jivesoftware.wildfire
Class OfflineMessageStrategy
java.lang.Object
org.jivesoftware.wildfire.container.BasicModule
org.jivesoftware.wildfire.OfflineMessageStrategy
- All Implemented Interfaces:
- Module
public class OfflineMessageStrategy
- extends BasicModule
Controls what is done with offline messages.
- Author:
- Iain Shigeoka
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OfflineMessageStrategy
public OfflineMessageStrategy()
getQuota
public int getQuota()
setQuota
public void setQuota(int quota)
getType
public OfflineMessageStrategy.Type getType()
setType
public void setType(OfflineMessageStrategy.Type type)
storeOffline
public void storeOffline(Message message)
initialize
public void initialize(XMPPServer server)
- Description copied from class:
BasicModule
Initializes the basic module.
Inheriting classes that choose to override this method MUST
call this initialize() method before accessing BasicModule resources.
- Specified by:
initialize
in interface Module
- Overrides:
initialize
in class BasicModule
- Parameters:
server
- the server hosting this module.
Copyright © 2003-2006 Jive Software.