Wildfire 3.1.1 Javadoc

org.jivesoftware.wildfire
Class OfflineMessageStrategy

java.lang.Object
  extended by org.jivesoftware.wildfire.container.BasicModule
      extended by org.jivesoftware.wildfire.OfflineMessageStrategy
All Implemented Interfaces:
Module

public class OfflineMessageStrategy
extends BasicModule

Controls what is done with offline messages.

Author:
Iain Shigeoka

Nested Class Summary
static class OfflineMessageStrategy.Type
          Strategy types.
 
Constructor Summary
OfflineMessageStrategy()
           
 
Method Summary
 int getQuota()
           
 OfflineMessageStrategy.Type getType()
           
 void initialize(XMPPServer server)
          Initializes the basic module.
 void setQuota(int quota)
           
 void setType(OfflineMessageStrategy.Type type)
           
 void storeOffline(Message message)
           
 
Methods inherited from class org.jivesoftware.wildfire.container.BasicModule
destroy, getName, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OfflineMessageStrategy

public OfflineMessageStrategy()
Method Detail

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.

Wildfire 3.1.1 Javadoc

Copyright © 2003-2006 Jive Software.