AccessRestrictionType#

class AccessRestrictionType(value)#

Bases: object

A semantic OPC UA integer value with typed constants and equality.

Construct a semantic value from its native integer representation.

Parameters:

value (int)

Native numeric value or flag bits.

Returns:

object – The corresponding typed wrapper.

Examples

>>> from instro.opcua.types import AttributeId
>>> AttributeId(13) == AttributeId.VALUE
True

Attributes

APPLY_RESTRICTIONS_TO_BROWSE = AccessRestrictionType(8)#
ENCRYPTION_REQUIRED = AccessRestrictionType(2)#
NONE = AccessRestrictionType(0)#
SESSION_REQUIRED = AccessRestrictionType(4)#
SIGNING_REQUIRED = AccessRestrictionType(1)#
is_apply_restrictions_to_browse_set#
is_encryption_required_set#
is_session_required_set#
is_signing_required_set#
value#