|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
madkit.communicator.StatAgent
public class StatAgent
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary | |
|---|---|
protected java.lang.String[] |
ALL_MESSAGES
|
protected int[] |
in
|
protected int |
NB_MESSAGE_TYPES
|
protected int |
NB_TYPE
|
protected int[] |
nbIn
|
protected int[] |
nbOut
|
protected long |
oldTime
|
protected int |
OTHER_TYPE
|
protected int[] |
out
|
protected int |
PERIOD
|
protected int |
SYSTEM_TYPE
|
protected int |
TCP_TYPE
|
protected long |
time
|
protected int |
TOTAL_TYPE
|
protected java.lang.String[] |
TYPE_NAMES
|
protected int |
UDP_TYPE
|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
StatAgent()
|
|
| Method Summary | |
|---|---|
void |
onIn(int size,
boolean tcp,
java.lang.Object o)
|
void |
onOut(int size,
boolean tcp,
java.lang.Object o)
|
void |
run()
|
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final int PERIOD
protected final int TOTAL_TYPE
protected final int SYSTEM_TYPE
protected final int OTHER_TYPE
protected final int TCP_TYPE
protected final int UDP_TYPE
protected final int NB_TYPE
protected final java.lang.String[] TYPE_NAMES
protected final java.lang.String[] ALL_MESSAGES
protected final int NB_MESSAGE_TYPES
protected long oldTime
protected long time
protected int[] in
protected int[] out
protected int[] nbIn
protected int[] nbOut
| Constructor Detail |
|---|
public StatAgent()
| Method Detail |
|---|
public void onIn(int size,
boolean tcp,
java.lang.Object o)
public void onOut(int size,
boolean tcp,
java.lang.Object o)
public void run()
run in interface java.lang.Runnablerun in class java.lang.Thread
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||