|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.util.InetPortPinger
public class InetPortPinger
Constructor Summary | |
---|---|
InetPortPinger(java.lang.String host,
int port,
int timeout)
Create a new InetPortPinger object. |
Method Summary | |
---|---|
boolean |
check()
Pings the remote host. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InetPortPinger(java.lang.String host, int port, int timeout)
host
- Hostname to pingport
- Port # to pingtimeout
- Timeout (in ms) to wait for data, before abortingMethod Detail |
---|
public boolean check()
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |