◆ __init__()
| RfidMonitor.RfidMonitor.__init__ |
( |
| self, |
|
|
| connection = None, |
|
|
| mgmt_comm = None, |
|
|
| comm_descriptor = None ) |
◆ init_with_comm_descriptor()
| RfidMonitor.RfidMonitor.init_with_comm_descriptor |
( |
| self, |
|
|
| comm_descriptor ) |
Constructor called when creating a connection managed by the SDK.
commDescriptor is descriptor for the communication used to connect with printer.
TCP descriptor format: "ip" or "ip:port"
e.g. "127.0.0.1" or "127.0.0.1:3007"
If port is not provided, default value is used.
- Parameters
-
| commDescriptor | The communication descriptor. |
- Returns
- An initialized instance of RfidMonitor, or nil if the object could not be created.
◆ init_with_json_comm()
| RfidMonitor.RfidMonitor.init_with_json_comm |
( |
| self, |
|
|
| mgmt_comm ) |
Initializes a new instance with the given JSON communication object.
- Parameters
-
| mgmt_comm | The JSON communication object. |
- Returns
- An initialized instance of RfidMonitor, or nil if the object could not be created.
◆ init_with_tcp_comm()
| RfidMonitor.RfidMonitor.init_with_tcp_comm |
( |
| self, |
|
|
| connection ) |
Initializes a new instance with the given TCP communication object.
- Parameters
-
| connection | The TCP communication object. |
- Returns
- An initialized instance of RfidMonitor, or nil if the object could not be created.
◆ set_rfid_report_listening()
| RfidMonitor.RfidMonitor.set_rfid_report_listening |
( |
| self, |
|
|
| value ) |
Sets whether Rfid report listening is enabled.
- Parameters
-
| value | YES to enable listening, NO to disable. |
◆ stop_listening_thread()
| RfidMonitor.RfidMonitor.stop_listening_thread |
( |
| self | ) |
|
Stop the listening thread.
◆ listener_cts
| RfidMonitor.RfidMonitor.listener_cts |
◆ listener_thread
| RfidMonitor.RfidMonitor.listener_thread |
◆ managed_descriptor
| RfidMonitor.RfidMonitor.managed_descriptor |
◆ mgmt_comm
| RfidMonitor.RfidMonitor.mgmt_comm |
◆ my_mgmt_id
| RfidMonitor.RfidMonitor.my_mgmt_id |
◆ ptr_comm
| RfidMonitor.RfidMonitor.ptr_comm |
◆ rfid_report_listening
| RfidMonitor.RfidMonitor.rfid_report_listening |
◆ sdk_managed_comm
| RfidMonitor.RfidMonitor.sdk_managed_comm |
◆ sync_context
| RfidMonitor.RfidMonitor.sync_context |
The documentation for this class was generated from the following file:
- /Users/realbuber/Documents/Project/UniPRTSDK_python/Json/RfidMonitor.py