Event & Subscription Datatypes

OcaEvent

struct OcaEvent

Representation of an OCA event, i.e. the unique combination of emitter ONo and the EventID.

OcaONo EmitterONo

Object number of the emitter.

OcaEventID EventID

Event ID of the subscribed event.

OcaMethod

struct OcaMethod

Representation of an OCA method, i.e. the unique combination of an ONo and a MethodID. To denote the absence of a method, all field values shall be zero. Such a value is called the Null Method Identifier.

OcaONo ONo

The object number. For Null Method Identifier, value shall be zero.

OcaMethodID MethodID

The method ID. For Null Method Identifier, value of all subfields shall be zero.

OcaNotificationDeliveryMode

enum OcaNotificationDeliveryMode : uint8_t

Enum for subscriptions that specifies whether its notification messages are to be delivered by normal means (e.g. TCP) or lightweight means (e.g. UDP).

enumerator Normal = 1

Normal delivery mode Name was ‘Reliable’ in AES70-2018 and earlier.

enumerator Lightweight = 2

Lightweight delivery mode. Name was ‘Fast’ in AES70-2018 and earlier.

OcaSubscriptionManagerState

enum OcaSubscriptionManagerState : uint8_t

Enum describing OcaSubscriptionManager states.

enumerator Normal = 1
enumerator EventsDisabled = 2

Events are disabled.