public abstract class CommandListenerAbstract extends Object implements CommandListener
Constructor and Description |
---|
CommandListenerAbstract(String name)
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
|
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
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
executeCommand
public CommandListenerAbstract(String name)
name
- public int compareTo(CommandListener cl)
compareTo
in interface Comparable<CommandListener>
public void incSyncInTraffic()
public void incSyncOutTraffic()
public String getName()
CommandListener
getName
in interface CommandListener
String
name of the commandpublic void getStatistics(StatisticsList list)
CommandListener
getStatistics
in interface CommandListener
list
- collection to which statistics should be appendedpublic static long getSyncInTraffic()
long
public static long getSyncOutTraffic()
long
public final void setName(String name)
CommandListener
setName
in interface CommandListener
name
- to be usedCopyright © 2015 "Tigase, Inc.". All rights reserved.