Public Member Functions | |
def | __init__ |
def | activate_session |
def | add_nodes |
def | browse |
def | call |
def | close_secure_channel |
def | close_session |
def | connect_socket |
def | create_monitored_items |
def | create_session |
def | create_subscription |
def | delete_monitored_items |
def | delete_nodes |
def | delete_subscriptions |
def | disconnect_socket |
def | find_servers |
def | find_servers_on_network |
def | get_endpoints |
def | history_read |
def | modify_monitored_items |
def | open_secure_channel |
def | publish |
def | read |
def | register_server |
def | register_server2 |
def | send_hello |
def | set_security |
def | translate_browsepaths_to_nodeids |
def | write |
Public Attributes | |
logger | |
Private Member Functions | |
def | _call_publish_callback |
def | _create_subscription_callback |
def | _delete_subscriptions_callback |
Private Attributes | |
_publishcallbacks | |
_security_policy | |
_timeout | |
_uasocket |
low level OPC-UA client. It implements (almost) all methods defined in opcua spec taking in argument the structures defined in opcua spec. In this Python implementation most of the structures are defined in uaprotocol_auto.py and uaprotocol_hand.py available under opcua.ua
Definition at line 187 of file ua_client.py.
def opcua.client.ua_client.UaClient.__init__ | ( | self, | |
timeout = 1 |
|||
) |
Definition at line 199 of file ua_client.py.
def opcua.client.ua_client.UaClient._call_publish_callback | ( | self, | |
future | |||
) | [private] |
Definition at line 415 of file ua_client.py.
def opcua.client.ua_client.UaClient._create_subscription_callback | ( | self, | |
pub_callback, | |||
resp_fut, | |||
data_fut | |||
) | [private] |
Definition at line 378 of file ua_client.py.
def opcua.client.ua_client.UaClient._delete_subscriptions_callback | ( | self, | |
subscriptionids, | |||
resp_fut, | |||
data_fut | |||
) | [private] |
Definition at line 396 of file ua_client.py.
def opcua.client.ua_client.UaClient.activate_session | ( | self, | |
parameters | |||
) |
Definition at line 244 of file ua_client.py.
def opcua.client.ua_client.UaClient.add_nodes | ( | self, | |
nodestoadd | |||
) |
Definition at line 487 of file ua_client.py.
def opcua.client.ua_client.UaClient.browse | ( | self, | |
parameters | |||
) |
Definition at line 269 of file ua_client.py.
def opcua.client.ua_client.UaClient.call | ( | self, | |
methodstocall | |||
) |
Definition at line 507 of file ua_client.py.
close secure channel. It seems to trigger a shutdown of socket in most servers, so be prepare to reconnect
Definition at line 226 of file ua_client.py.
def opcua.client.ua_client.UaClient.close_session | ( | self, | |
deletesubscriptions | |||
) |
Definition at line 254 of file ua_client.py.
def opcua.client.ua_client.UaClient.connect_socket | ( | self, | |
host, | |||
port | |||
) |
connect to server socket and start receiving thread
Definition at line 210 of file ua_client.py.
def opcua.client.ua_client.UaClient.create_monitored_items | ( | self, | |
params | |||
) |
Definition at line 467 of file ua_client.py.
def opcua.client.ua_client.UaClient.create_session | ( | self, | |
parameters | |||
) |
Definition at line 233 of file ua_client.py.
def opcua.client.ua_client.UaClient.create_subscription | ( | self, | |
params, | |||
callback | |||
) |
Definition at line 369 of file ua_client.py.
def opcua.client.ua_client.UaClient.delete_monitored_items | ( | self, | |
params | |||
) |
Definition at line 477 of file ua_client.py.
def opcua.client.ua_client.UaClient.delete_nodes | ( | self, | |
params | |||
) |
Definition at line 497 of file ua_client.py.
def opcua.client.ua_client.UaClient.delete_subscriptions | ( | self, | |
subscriptionids | |||
) |
Definition at line 387 of file ua_client.py.
Definition at line 217 of file ua_client.py.
def opcua.client.ua_client.UaClient.find_servers | ( | self, | |
params | |||
) |
Definition at line 319 of file ua_client.py.
def opcua.client.ua_client.UaClient.find_servers_on_network | ( | self, | |
params | |||
) |
Definition at line 329 of file ua_client.py.
def opcua.client.ua_client.UaClient.get_endpoints | ( | self, | |
params | |||
) |
Definition at line 309 of file ua_client.py.
def opcua.client.ua_client.UaClient.history_read | ( | self, | |
params | |||
) |
Definition at line 516 of file ua_client.py.
def opcua.client.ua_client.UaClient.modify_monitored_items | ( | self, | |
params | |||
) |
Definition at line 526 of file ua_client.py.
def opcua.client.ua_client.UaClient.open_secure_channel | ( | self, | |
params | |||
) |
Definition at line 223 of file ua_client.py.
def opcua.client.ua_client.UaClient.publish | ( | self, | |
acks = None |
|||
) |
Definition at line 406 of file ua_client.py.
def opcua.client.ua_client.UaClient.read | ( | self, | |
parameters | |||
) |
Definition at line 279 of file ua_client.py.
def opcua.client.ua_client.UaClient.register_server | ( | self, | |
registered_server | |||
) |
Definition at line 339 of file ua_client.py.
def opcua.client.ua_client.UaClient.register_server2 | ( | self, | |
params | |||
) |
Definition at line 349 of file ua_client.py.
def opcua.client.ua_client.UaClient.send_hello | ( | self, | |
url | |||
) |
Definition at line 220 of file ua_client.py.
def opcua.client.ua_client.UaClient.set_security | ( | self, | |
policy | |||
) |
Definition at line 207 of file ua_client.py.
def opcua.client.ua_client.UaClient.translate_browsepaths_to_nodeids | ( | self, | |
browsepaths | |||
) |
Definition at line 359 of file ua_client.py.
def opcua.client.ua_client.UaClient.write | ( | self, | |
params | |||
) |
Definition at line 299 of file ua_client.py.
Definition at line 199 of file ua_client.py.
Definition at line 199 of file ua_client.py.
Definition at line 199 of file ua_client.py.
Definition at line 199 of file ua_client.py.
Definition at line 199 of file ua_client.py.