ClientOpts#
- class ClientOpts(name, address, port, timeunit=1)[source]#
Bases:
objectClient Options. A helper class to correctly define client options. Used for the setup of
do_mpc.opcua.RTClient.- Parameters:
name (
str) – Name of the client.address (
str) – URL of the target server <scheme>://<netloc>/<path>;<params>?<query>#<fragment>.port (
int) – Used port number of the target server (Argument is currently not used).timeunit (
int) – Time unit factor to convert the time unit used by the dynamic system into seconds. The default value is 1 for seconds. Use 60 for minutes, 3600 for hours, and so on.
Methods#
Attributes#
timeunit#
-
ClientOpts.timeunit:
int= 1#
name#
-
ClientOpts.name:
str# URL of the target server.
address#
-
ClientOpts.address:
str#
port#
-
ClientOpts.port:
int#