public class HostPing extends Object
| Constructor and Description |
|---|
HostPing()Default constructor, uses global context. |
| Modifier and Type | Method and Description |
|---|---|
static void | main(String[] args)Command line interface |
int | pingDestination(String destination)Ping a single destination. |
int | pingFromFile(String filename)Ping all destinations listed in a file (one per line). |
public static void main(String[] args)
public int pingDestination(String destination)
destination - the .i2p hostname, b32, or b64 addresspublic int pingFromFile(String filename)
filename - path to the file