|
||||||||||
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.test.TestComponent
public class TestComponent
A test component used to demonstrate API and for running different kinds of tests on the Tigase server - generate local traffic for performance and load tests. Created: Nov 28, 2009 9:22:36 PM
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 | |
---|---|
TestComponent()
|
Method Summary | |
---|---|
void |
everyMinute()
Method description |
Map<String,Object> |
getDefaults(Map<String,Object> params)
Method description |
String |
getDiscoCategoryType()
Method description |
String |
getDiscoDescription()
Method description |
void |
getStatistics(StatisticsList list)
Method description |
int |
hashCodeForPacket(Packet packet)
Method description |
void |
initBindings(javax.script.Bindings binds)
Method description |
int |
processingThreads()
Method description |
void |
processPacket(Packet packet)
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, everySecond, getMaxQueueSize, getRegexRoutings, 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.MessageReceiver |
---|
getDefHostName |
Methods inherited from interface tigase.server.ServerComponent |
---|
getComponentId, getName, initializationCompleted |
Constructor Detail |
---|
public TestComponent()
Method Detail |
---|
public void everyMinute()
everyMinute
in class AbstractMessageReceiver
public Map<String,Object> getDefaults(Map<String,Object> params)
getDefaults
in interface Configurable
getDefaults
in class AbstractMessageReceiver
params
-
public String getDiscoCategoryType()
getDiscoCategoryType
in class BasicComponent
public String getDiscoDescription()
getDiscoDescription
in class BasicComponent
public void getStatistics(StatisticsList list)
getStatistics
in interface StatisticsContainer
getStatistics
in class AbstractMessageReceiver
list
- public int hashCodeForPacket(Packet packet)
hashCodeForPacket
in class AbstractMessageReceiver
packet
-
public void initBindings(javax.script.Bindings binds)
initBindings
in class BasicComponent
binds
- public void processPacket(Packet packet)
processPacket
in class AbstractMessageReceiver
packet
- public int processingThreads()
processingThreads
in class AbstractMessageReceiver
public void setProperties(Map<String,Object> props)
setProperties
in interface Configurable
setProperties
in class AbstractMessageReceiver
props
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |