|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--com.act365.net.ping.PingSender
PingSender objects transmit Ping packets.
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
PingSender(java.net.DatagramSocket socket,
java.net.InetAddress hostaddr,
java.net.InetAddress localaddr,
short identifier,
Ping ping,
int count,
int nbytes,
short ttl)
Sole constructor |
|
| Method Summary | |
void |
run()
Starts the transmission process. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PingSender(java.net.DatagramSocket socket,
java.net.InetAddress hostaddr,
java.net.InetAddress localaddr,
short identifier,
Ping ping,
int count,
int nbytes,
short ttl)
socket - socket to be used to transmithostaddr - remote address to be pingedlocaladdr - local address to appear in IP header (RawICMP only)identifier - identifier to appear in ICMP messageping - object that created the PingSender objectcount - number of packets to be transmittednbytes - size of packets to be transmittedttl - time-to-live of packets (RawICMP only)| Method Detail |
public void run()
run in class java.lang.Thread
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||