|
| ping (ip) |
| To receive ICMP Echo Reply from given IP, if success return True, False otherwise.
|
|
| ping_responded (ip, timeout_secs) |
| Pings a printer at the specified IP address and checks if it responds within the given timeout.
|
|
| ping_stopped_responding (ip, timeout_secs) |
| Pings a printer at the specified IP address and checks if it stops responding within the given timeout.
|
|
◆ ping()
PrinterMonitor.PrinterUtil.ping |
( |
| ip | ) |
|
|
static |
To receive ICMP Echo Reply from given IP, if success return True, False otherwise.
- Parameters
-
◆ ping_responded()
PrinterMonitor.PrinterUtil.ping_responded |
( |
| ip, |
|
|
| timeout_secs ) |
|
static |
Pings a printer at the specified IP address and checks if it responds within the given timeout.
- Parameters
-
ip | The IP address of the printer to ping. |
timeout_secs | The timeout period in seconds. |
- Returns
- YES if the printer responds within the timeout period, NO otherwise.
◆ ping_stopped_responding()
PrinterMonitor.PrinterUtil.ping_stopped_responding |
( |
| ip, |
|
|
| timeout_secs ) |
|
static |
Pings a printer at the specified IP address and checks if it stops responding within the given timeout.
- Parameters
-
ip | The IP address of the printer to ping. |
timeout_secs | The timeout period in seconds. |
- Returns
- YES if the printer stops responding within the timeout period, NO otherwise.
The documentation for this class was generated from the following file:
- /Users/realbuber/Documents/Project/UniPRTSDK_python/Json/PrinterMonitor.py