Skip to content

port_state_update_pb2

Generated protocol buffer code.

Classes:

PortStateUpdate

PortStateUpdate(
    *,
    port_id: PortId | None = ...,
    port_state: ValueType = ...
)

Bases: Message

An update reporting the state of a PTP port.

Methods:

Attributes:

  • port_state (ValueType) –

    The state of the port

port_state instance-attribute

port_state: ValueType

The state of the port

port_id

port_id() -> PortId

The ID of the port