Public Member Functions | |
def | __init__ |
def | add_data_item |
def | begin |
def | begin_gather |
def | complete |
def | complete_gather |
def | finish_request |
def | format_line |
def | format_time |
def | gather |
def | heartbeat |
def | remove_client |
def | send |
def | send_changed |
def | send_initial |
def | send_to_client |
def | start |
def | stop |
def | sweep |
def | unavailable |
def | wait_until_stopped |
Public Attributes | |
address_family | |
Static Public Attributes | |
allow_reuse_address = True | |
Private Attributes | |
_clients | |
_data_items | |
_heartbeat_interval | |
_lock | |
_ping_pat | |
_running | |
_server_thread |
Definition at line 22 of file mtconnect_adapter.py.
def mtconnect_adapter.Adapter.__init__ | ( | self, | |
address, | |||
heartbeat_interval = 10000 , |
|||
family = socket.AF_INET |
|||
) |
Definition at line 25 of file mtconnect_adapter.py.
def mtconnect_adapter.Adapter.add_data_item | ( | self, | |
item | |||
) |
Definition at line 35 of file mtconnect_adapter.py.
def mtconnect_adapter.Adapter.begin | ( | self | ) |
Definition at line 104 of file mtconnect_adapter.py.
def mtconnect_adapter.Adapter.begin_gather | ( | self | ) |
Definition at line 175 of file mtconnect_adapter.py.
def mtconnect_adapter.Adapter.complete | ( | self | ) |
Definition at line 108 of file mtconnect_adapter.py.
def mtconnect_adapter.Adapter.complete_gather | ( | self | ) |
Definition at line 178 of file mtconnect_adapter.py.
def mtconnect_adapter.Adapter.finish_request | ( | self, | |
request, | |||
client_address | |||
) |
Definition at line 56 of file mtconnect_adapter.py.
def mtconnect_adapter.Adapter.format_line | ( | self, | |
time, | |||
text | |||
) |
Definition at line 144 of file mtconnect_adapter.py.
def mtconnect_adapter.Adapter.format_time | ( | self | ) |
Definition at line 123 of file mtconnect_adapter.py.
def mtconnect_adapter.Adapter.gather | ( | self, | |
function | |||
) |
Definition at line 166 of file mtconnect_adapter.py.
def mtconnect_adapter.Adapter.heartbeat | ( | self, | |
client | |||
) |
Definition at line 70 of file mtconnect_adapter.py.
def mtconnect_adapter.Adapter.remove_client | ( | self, | |
client_address | |||
) |
Definition at line 91 of file mtconnect_adapter.py.
def mtconnect_adapter.Adapter.send | ( | self, | |
time, | |||
text, | |||
clients | |||
) |
Definition at line 161 of file mtconnect_adapter.py.
def mtconnect_adapter.Adapter.send_changed | ( | self, | |
clients, | |||
force = False |
|||
) |
Definition at line 127 of file mtconnect_adapter.py.
def mtconnect_adapter.Adapter.send_initial | ( | self, | |
client_address | |||
) |
Definition at line 120 of file mtconnect_adapter.py.
def mtconnect_adapter.Adapter.send_to_client | ( | self, | |
client, | |||
line | |||
) |
Definition at line 147 of file mtconnect_adapter.py.
def mtconnect_adapter.Adapter.start | ( | self | ) |
Definition at line 38 of file mtconnect_adapter.py.
def mtconnect_adapter.Adapter.stop | ( | self | ) |
Definition at line 47 of file mtconnect_adapter.py.
def mtconnect_adapter.Adapter.sweep | ( | self | ) |
Definition at line 112 of file mtconnect_adapter.py.
def mtconnect_adapter.Adapter.unavailable | ( | self | ) |
Definition at line 116 of file mtconnect_adapter.py.
def mtconnect_adapter.Adapter.wait_until_stopped | ( | self | ) |
Definition at line 53 of file mtconnect_adapter.py.
mtconnect_adapter.Adapter::_clients [private] |
Definition at line 25 of file mtconnect_adapter.py.
mtconnect_adapter.Adapter::_data_items [private] |
Definition at line 25 of file mtconnect_adapter.py.
Definition at line 25 of file mtconnect_adapter.py.
mtconnect_adapter.Adapter::_lock [private] |
Definition at line 25 of file mtconnect_adapter.py.
mtconnect_adapter.Adapter::_ping_pat [private] |
Definition at line 25 of file mtconnect_adapter.py.
mtconnect_adapter.Adapter::_running [private] |
Definition at line 25 of file mtconnect_adapter.py.
Definition at line 38 of file mtconnect_adapter.py.
Definition at line 25 of file mtconnect_adapter.py.
Definition at line 23 of file mtconnect_adapter.py.