|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttigase.server.BasicComponent
tigase.server.AbstractMessageReceiver
tigase.server.MessageRouter
public class MessageRouter
Class MessageRouter Created: Tue Nov 22 07:07:11 2005
Field Summary |
---|
Fields inherited from class tigase.server.AbstractMessageReceiver |
---|
HOUR, INCOMING_FILTERS_PROP_KEY, INCOMING_FILTERS_PROP_VAL, MAX_QUEUE_SIZE_PROP_KEY, MAX_QUEUE_SIZE_PROP_VAL, maxQueueSize, MINUTE, OUTGOING_FILTERS_PROP_KEY, OUTGOING_FILTERS_PROP_VAL, SECOND |
Fields inherited from class tigase.server.BasicComponent |
---|
admins, SCRIPTS_DIR_PROP_DEF, SCRIPTS_DIR_PROP_KEY, vHostManager |
Fields inherited from interface tigase.disco.XMPPService |
---|
CMD_FEATURES, DEF_FEATURES, INFO_XMLNS, ITEMS_XMLNS |
Constructor Summary | |
---|---|
MessageRouter()
|
Method Summary | |
---|---|
void |
addComponent(ServerComponent component)
Method description |
void |
addRegistrator(ComponentRegistrator registr)
Method description |
void |
addRouter(MessageReceiver receiver)
Method description |
Map<String,Object> |
getDefaults(Map<String,Object> params)
Method description |
tigase.xml.Element |
getDiscoInfo(String node,
tigase.xmpp.JID jid,
tigase.xmpp.JID from)
Method description |
protected Integer |
getMaxQueueSize(int def)
|
void |
getStatistics(StatisticsList list)
Method description |
int |
processingThreads()
Method description |
void |
processPacket(Packet packet)
Method description |
void |
processPacketMR(Packet packet,
Queue<Packet> results)
Method description |
void |
setConfig(ConfiguratorAbstract config)
Method description |
void |
setProperties(Map<String,Object> props)
Method description |
Methods inherited from class tigase.server.AbstractMessageReceiver |
---|
addOutPacket, addOutPacketNB, addOutPackets, addOutPacketWithTimeout, addPacket, addPacketNB, addPackets, addRegexRouting, addTimerTask, addTimerTask, clearRegexRoutings, everyHour, everyMinute, everySecond, getRegexRoutings, hashCodeForPacket, isInRegexRoutings, newPacketId, processPacket, release, removeRegexRouting, setMaxQueueSize, setName, setParent, start, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface tigase.server.MessageRouterIfc |
---|
start |
Methods inherited from interface tigase.server.ServerComponent |
---|
getComponentId, getName, initializationCompleted, processPacket, release, setName |
Methods inherited from interface tigase.server.MessageReceiver |
---|
getDefHostName |
Constructor Detail |
---|
public MessageRouter()
Method Detail |
---|
public void addComponent(ServerComponent component)
component
- public void addRegistrator(ComponentRegistrator registr)
registr
- public void addRouter(MessageReceiver receiver)
receiver
- public Map<String,Object> getDefaults(Map<String,Object> params)
getDefaults
in interface Configurable
getDefaults
in class AbstractMessageReceiver
params
-
public tigase.xml.Element getDiscoInfo(String node, tigase.xmpp.JID jid, tigase.xmpp.JID from)
getDiscoInfo
in interface XMPPService
getDiscoInfo
in class BasicComponent
node
- jid
- from
-
public void getStatistics(StatisticsList list)
getStatistics
in interface StatisticsContainer
getStatistics
in class AbstractMessageReceiver
list
- public void processPacket(Packet packet)
processPacket
in class AbstractMessageReceiver
packet
- public void processPacketMR(Packet packet, Queue<Packet> results)
packet
- results
- public int processingThreads()
processingThreads
in class AbstractMessageReceiver
public void setConfig(ConfiguratorAbstract config)
setConfig
in interface MessageRouterIfc
config
- public void setProperties(Map<String,Object> props)
setProperties
in interface Configurable
setProperties
in class AbstractMessageReceiver
props
- protected Integer getMaxQueueSize(int def)
getMaxQueueSize
in class AbstractMessageReceiver
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |