public abstract class CommandListenerAbstract extends Object implements CommandListener
| Constructor and Description |
|---|
CommandListenerAbstract(String name,
Priority priority)
Constructs ...
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(CommandListener cl) |
boolean |
equals(Object cl) |
String |
getName()
Method allows retrieval name of the particular command
|
Priority |
getPriority()
Method returns priority of particular command which should be used
to assign proper priority for processing of this command
|
void |
getStatistics(StatisticsList list)
Method allows retrieval possible statistics for particular command
|
static long |
getSyncInTraffic()
Method description
|
static long |
getSyncOutTraffic()
Method description
|
int |
hashCode() |
void |
incSyncInTraffic()
Method description
|
void |
incSyncOutTraffic()
Method description
|
void |
setName(String name)
Method allows setting name of the command
|
void |
setPriority(Priority priority) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitexecuteCommandpublic int compareTo(CommandListener cl)
compareTo in interface Comparable<CommandListener>public void incSyncInTraffic()
public void incSyncOutTraffic()
public String getName()
CommandListenergetName in interface CommandListenerString name of the commandpublic Priority getPriority()
CommandListenergetPriority in interface CommandListenerpublic void getStatistics(StatisticsList list)
CommandListenergetStatistics in interface CommandListenerlist - collection to which statistics should be appendedpublic static long getSyncInTraffic()
longpublic static long getSyncOutTraffic()
longpublic final void setName(String name)
CommandListenersetName in interface CommandListenername - to be usedpublic void setPriority(Priority priority)
Copyright © 2018 "Tigase, Inc.". All rights reserved.