Public Member Functions | |
def | __init__ |
def | call_get_device_list |
def | close |
def | convert_post_to_devices_msg |
def | init |
def | request_configuration_update |
Public Attributes | |
type_table | |
Private Member Functions | |
def | _convert_to_device_msgs |
def | _get_device_list |
def | _get_endpoint_url |
def | _init_device_list |
def | _is_register_callback |
def | _load_configuration |
def | _request_register_callback |
def | _request_reset |
def | _type_converter |
Private Attributes | |
_config | |
_configuration_file | |
_devices_msgs | |
_endpoint_url | |
Static Private Attributes | |
dictionary | _API |
Definition at line 16 of file ninjablock_bridge.py.
def ninjablock_bridge.NinjaBlockConnector.__init__ | ( | self | ) |
Definition at line 25 of file ninjablock_bridge.py.
def ninjablock_bridge.NinjaBlockConnector._convert_to_device_msgs | ( | self, | |
device_raw_data | |||
) | [private] |
Definition at line 70 of file ninjablock_bridge.py.
def ninjablock_bridge.NinjaBlockConnector._get_device_list | ( | self | ) | [private] |
Definition at line 144 of file ninjablock_bridge.py.
def ninjablock_bridge.NinjaBlockConnector._get_endpoint_url | ( | self | ) | [private] |
Definition at line 180 of file ninjablock_bridge.py.
def ninjablock_bridge.NinjaBlockConnector._init_device_list | ( | self | ) | [private] |
Definition at line 141 of file ninjablock_bridge.py.
def ninjablock_bridge.NinjaBlockConnector._is_register_callback | ( | self, | |
device_guid | |||
) | [private] |
Definition at line 130 of file ninjablock_bridge.py.
def ninjablock_bridge.NinjaBlockConnector._load_configuration | ( | self, | |
filename | |||
) | [private] |
Definition at line 30 of file ninjablock_bridge.py.
def ninjablock_bridge.NinjaBlockConnector._request_register_callback | ( | self, | |
config | |||
) | [private] |
Definition at line 155 of file ninjablock_bridge.py.
def ninjablock_bridge.NinjaBlockConnector._request_reset | ( | self | ) | [private] |
Definition at line 94 of file ninjablock_bridge.py.
def ninjablock_bridge.NinjaBlockConnector._type_converter | ( | self, | |
device_label | |||
) | [private] |
Definition at line 58 of file ninjablock_bridge.py.
Definition at line 55 of file ninjablock_bridge.py.
def ninjablock_bridge.NinjaBlockConnector.close | ( | self | ) |
Definition at line 52 of file ninjablock_bridge.py.
def ninjablock_bridge.NinjaBlockConnector.convert_post_to_devices_msg | ( | self, | |
post | |||
) |
Definition at line 113 of file ninjablock_bridge.py.
def ninjablock_bridge.NinjaBlockConnector.init | ( | self, | |
config = None |
|||
) |
Definition at line 40 of file ninjablock_bridge.py.
def ninjablock_bridge.NinjaBlockConnector.request_configuration_update | ( | self, | |
config | |||
) |
Definition at line 109 of file ninjablock_bridge.py.
dictionary ninjablock_bridge.NinjaBlockConnector::_API [static, private] |
{ 'UPDATE_CONFIG': 'configuration', 'GET_DEVICE_LIST': 'get_device_list', 'LOG': 'log', 'RESET': 'reset' }
Definition at line 18 of file ninjablock_bridge.py.
Definition at line 30 of file ninjablock_bridge.py.
Definition at line 25 of file ninjablock_bridge.py.
Definition at line 25 of file ninjablock_bridge.py.
Definition at line 40 of file ninjablock_bridge.py.
Definition at line 25 of file ninjablock_bridge.py.