caniusethat package
thing module
- class caniusethat.thing.Thing(name: str, server_address: str)[source]
A representation of a remote object, or thing, that has methods that can be called.
- name
The unique name of the remote object.
- server_address
The address of the server that is hosting the remote object.
Example
>>> from caniusethat import thing >>> my_thing = thing.Thing("remote_calculator", "tcp://127.0.0.1:6555") >>> my_thing.add(2, 3) 5