|
Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
|
PingProcess handles and manipulates ping processes. More...
Public Member Functions | |
| void | start () |
| Starts the ping process. More... | |
| void | cancel () |
| Cancels the ping process. More... | |
| short | getId () |
| Returns the ping process ID. More... | |
| ip | getDestinationIP () |
| Returns the destination IP address. More... | |
| ip | getSourceIP () |
| Returns the source IP address. More... | |
| ip | getLastIP () |
| Returns the last IP address in the ping process. More... | |
| bool | isBroadcast () |
| Returns true if the ping process is broadcasted, otherwise false. More... | |
| int | getTotalCount () |
| Returns the total number of pings. More... | |
| int | getSentCount () |
| Returns the number of echo requests sent. More... | |
| int | getReceivedCount () |
| Returns the number of echo replies received. More... | |
| int | getTimeout () |
| Returns the timeout value. More... | |
| int | getMinDelay () |
| Returns the minimum delay value. More... | |
| int | getMaxDelay () |
| Returns the maximum delay value. More... | |
| int | getLastDelay () |
| Returns the last delay value. More... | |
| int | getTotalDelay () |
| Returns the total delay value. More... | |
| int | getLastTtl () |
| Returns the last TTL value. More... | |
| void | donePing (int, int) |
| This event is emitted when the ping is done. More... | |
Public Member Functions inherited from Process | |
| Device | getOwnerDevice () |
| Returns the device for this process. More... | |
PingProcess handles and manipulates ping processes.
| void PingProcess::cancel | ( | ) |
Cancels the ping process.
| void PingProcess::donePing | ( | int | , |
| int | |||
| ) |
This event is emitted when the ping is done.
IPC event.
| ip PingProcess::getDestinationIP | ( | ) |
Returns the destination IP address.
| short PingProcess::getId | ( | ) |
Returns the ping process ID.
| int PingProcess::getLastDelay | ( | ) |
Returns the last delay value.
| ip PingProcess::getLastIP | ( | ) |
Returns the last IP address in the ping process.
| int PingProcess::getLastTtl | ( | ) |
Returns the last TTL value.
| int PingProcess::getMaxDelay | ( | ) |
Returns the maximum delay value.
| int PingProcess::getMinDelay | ( | ) |
Returns the minimum delay value.
| int PingProcess::getReceivedCount | ( | ) |
Returns the number of echo replies received.
| int PingProcess::getSentCount | ( | ) |
Returns the number of echo requests sent.
| ip PingProcess::getSourceIP | ( | ) |
Returns the source IP address.
| int PingProcess::getTimeout | ( | ) |
Returns the timeout value.
| int PingProcess::getTotalCount | ( | ) |
Returns the total number of pings.
| int PingProcess::getTotalDelay | ( | ) |
Returns the total delay value.
| bool PingProcess::isBroadcast | ( | ) |
Returns true if the ping process is broadcasted, otherwise false.
| void PingProcess::start | ( | ) |
Starts the ping process.