luky.linux
Class SystemTool
java.lang.Object
luky.events.MyEventManager
luky.linux.SystemTool
- All Implemented Interfaces:
- Runnable
public class SystemTool
- extends MyEventManager
- implements Runnable
Supports a number of system commands, currently available only for linux
either single shot or with a poll frequency, sends myEvents with result
- 1.0.0 - Release under LGPL (a.b.c) (a=major, b=class compatible, c=api compatible)
- Version:
- 1.0.0
- Author:
- Chris Lukassen
-

Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemTool
public SystemTool(String cmd,
String dir)
setPollTime
public void setPollTime(int poll)
run
public void run()
- Specified by:
run
in interface Runnable
Ping
public String Ping(String host)
Ping
public String Ping(String host,
int retry)
Pinger
public String Pinger(String host,
int retry)
SystemCommand
public String SystemCommand(String cmd,
String dir)