|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.veraxsystems.icmp.jni.handlers.PingLoopTest
public class PingLoopTest
Internally used class for running simple ICMP Echo test in many threads. The send/receive operation is executed in polling mode. After send the attempt to receive response is made. To avoid tight loop the receiving wait operation is added (socket select)
Constructor Summary | |
---|---|
PingLoopTest(int requestsCountVal,
Counter successCounterVal,
Counter failureCounterVal)
Initialize ICMP socket send/receive loop. |
Method Summary | |
---|---|
void |
run()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PingLoopTest(int requestsCountVal, Counter successCounterVal, Counter failureCounterVal)
requestsCountVal
- number of requests to sendsuccessCounterVal
- counter increased on successful executionfailureCounterVal
- counter increased on failureMethod Detail |
---|
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |