|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.tivoli.jmx.daemon.Daemon
Represents the daemon process which launches the agent. Used to obtain information on the controlling process, which is most commonly an NT Service or unix daemon, and the host environment.
Constructor Summary | |
Daemon(java.lang.String version,
int processID)
Constructor. |
Method Summary | |
java.lang.String |
gethostName()
Returns the name of the host machine. |
java.lang.String |
getipAddress()
Returns the IP Address of the host machine. |
int |
getprocessID()
Returns the process id (pid) of the controlling process |
java.lang.String |
getstartTime()
Returns the time the daemon process was started, as a String date. |
java.lang.String |
getupTime()
Returns the length of time the process the process has been running for, as a String formatted time (ie. |
java.lang.String |
getversion()
Returns the version number of the daemon executable. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Daemon(java.lang.String version, int processID) throws java.net.UnknownHostException
version
- String version number of the daemon executableprocessID
- the process id (pid) of the daemon executable.Method Detail |
public java.lang.String gethostName()
public java.lang.String getipAddress()
public java.lang.String getversion()
public int getprocessID()
public java.lang.String getstartTime()
public java.lang.String getupTime()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |