OcaEventHandler

A online version of the AES70 specification of this class can be found at http://docs.deuso.de.

The class is a subclass of OcaAgent().

This class defines no own properties.

Furthermore, it inherits the properties ClassID, ClassVersion, ObjectNumber, Lockable, Role, Label and Owner.

class OcaEventHandler(objectNumber, device)

Base class for event handler objects. This class applies to controllers that subscribe to events and receive notifications for them. Controller developers can derive from this class and add specific callback methods that perform processing and/or have specific event data structures.

OcaEventHandler.OnEvent(Context, eventData)

Generic empty callback method for events. Application developers can override this method in a derived class to add behavior.

Arguments
  • Context (Uint8Array) –

  • eventData (OcaEvent) –

Returns

Promise.<void>