class cMsgMonitorClient
extends java.lang.Thread
| Constructor and Description |
|---|
cMsgMonitorClient(cMsgNameServer server,
int debug)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
addClient(cMsgClientData info,
cMsgDomainServer ds)
Method to add another client for monitoring.
|
(package private) void |
addClient(cMsgClientData info,
cMsgDomainServerSelect dss)
Method to add another client for monitoring.
|
static java.nio.ByteBuffer |
copyBuffer(java.nio.ByteBuffer original)
Copy a buffer.
|
(package private) void |
removeClient(cMsgClientData info)
Method to remove a client from being monitored.
|
(package private) void |
shutdown()
Shuts down all client monitoring threads.
|
void |
updateMonitorXML()
This method updates the XML string representing the state of this server and the
XML string representing the state of the complete cMsg system - cMsg subdomain.
|
activeCount, checkAccess, clone, 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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic cMsgMonitorClient(cMsgNameServer server, int debug) throws java.io.IOException
server - domain server which created this monitordebug - level of debug outputjava.io.IOException - if selector cannot be openedpublic static java.nio.ByteBuffer copyBuffer(java.nio.ByteBuffer original)
original - buffer to copy or sourcevoid shutdown()
void addClient(cMsgClientData info, cMsgDomainServerSelect dss)
info - information on clientdss - cMsgDomainServerSelect objectvoid addClient(cMsgClientData info, cMsgDomainServer ds)
info - information on clientds - cMsgDomainServer objectvoid removeClient(cMsgClientData info)
info - information on clientpublic void updateMonitorXML()