|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.continuent.tungsten.common.network.PingLauncher
public class PingLauncher
Provides a simple utility for checking host accessibility.
| Constructor Summary | |
|---|---|
PingLauncher()
Creates a new Launcher instance. |
|
| Method Summary | |
|---|---|
protected static void |
exitWithFailure(java.lang.String message)
|
protected static void |
exitWithNotFound()
|
protected static void |
exitWithSuccess()
|
static void |
main(java.lang.String[] argv)
Main method to permit external invocation. |
protected static void |
println(java.lang.String message)
Print to standard out. |
void |
process(java.lang.String[] argv)
Process command request. |
void |
setHost(java.lang.String host)
|
void |
setMethod(java.lang.String method)
|
void |
setTimeout(int timeout)
|
void |
setVerbose(boolean verbose)
|
protected static void |
usage()
Print usage. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PingLauncher()
| Method Detail |
|---|
public void setVerbose(boolean verbose)
public void setTimeout(int timeout)
public void setMethod(java.lang.String method)
public void setHost(java.lang.String host)
public static void main(java.lang.String[] argv)
throws java.lang.Exception
java.lang.Exceptionpublic void process(java.lang.String[] argv)
protected static void println(java.lang.String message)
protected static void usage()
protected static void exitWithFailure(java.lang.String message)
protected static void exitWithNotFound()
protected static void exitWithSuccess()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||