|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object http.dhtml.systemInfo.SystemInfoPublisher
public class SystemInfoPublisher
Publish system infos to xmlBlaster.
Use this as a command line tool to publish cpu load and memory load.
Invoke examples:
jaco html.systemInfo.SystemInfoPublisher
Field Summary | |
---|---|
private I_XmlBlasterAccess |
con
|
private Global |
glob
|
private static java.util.logging.Logger |
log
|
private static java.lang.String |
ME
|
private java.util.Random |
random
|
Constructor Summary | |
---|---|
SystemInfoPublisher(Global glob)
Constructs the SystemInfoPublisher object. |
Method Summary | |
---|---|
private int |
getCpuload()
The Linux way ... |
private int |
getMeminfo()
The Linux way ... |
static void |
main(java.lang.String[] args)
java html.systemInfo.SystemInfoPublisher |
private void |
publish(java.lang.String oid,
int value)
Construct a message and publish it. |
private void |
setUp()
Connect to xmlBlaster and login |
private void |
tearDown()
Logout from xmlBlaster |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.lang.String ME
private final Global glob
private static java.util.logging.Logger log
private I_XmlBlasterAccess con
private java.util.Random random
Constructor Detail |
---|
public SystemInfoPublisher(Global glob)
args
- Command line argumentsMethod Detail |
---|
private int getCpuload() throws XmlBlasterException
XmlBlasterException
private int getMeminfo() throws XmlBlasterException
XmlBlasterException
private void setUp()
private void tearDown()
private void publish(java.lang.String oid, int value)
public static void main(java.lang.String[] args)
|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |