OcaNetworkManager

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

The class is a subclass of OcaManager().

This class defines the properties

Name

JavaScript Type

AES70 Type

Networks

number[]

OcaList<OcaONo>

StreamNetworks

number[]

OcaList<OcaONo>

ControlNetworks

number[]

OcaList<OcaONo>

MediaTransportNetworks

number[]

OcaList<OcaONo>

Furthermore, it inherits the properties ClassID, ClassVersion, ObjectNumber, Lockable, Role, Networks, StreamNetworks, ControlNetworks and MediaTransportNetworks.

class OcaNetworkManager(objectNumber, device)

Optional manager that collects all media transport and control networks to which the device belongs.

  • Must be instantiated once in every device that has more than one network object. In this context, “network object” shall mean an instance of OcaNetwork , OcaStreamNetwork , OcaApplicationNetwork , or any subclass of these classes.

  • If instantiated, must have object number 6.

OcaNetworkManager.OnControlNetworksChanged

type: PropertyEvent.<Array.<number>>

This event is emitted when the property ControlNetworks changes in the remote object. The property ControlNetworks is described in the AES70 standard as follows. Object numbers of <b>OcaControlNetwork </b>objects, one for each control network to which this device belongs. Added in version 2.

OcaNetworkManager.OnMediaTransportNetworksChanged

type: PropertyEvent.<Array.<number>>

This event is emitted when the property MediaTransportNetworks changes in the remote object. The property MediaTransportNetworks is described in the AES70 standard as follows. Object numbers of <b>OcaMediaTransportNetwork </b>objects, one for each media transport network to which this device belongs. Added in version 2.

OcaNetworkManager.OnNetworksChanged

type: PropertyEvent.<Array.<number>>

This event is emitted when the property Networks changes in the remote object. The property Networks is described in the AES70 standard as follows. Object numbers of <b>OcaNetwork </b>objects, one for each network to which this device belongs. <b><u>Deprecated as of OCA 1.2.</u></b>

OcaNetworkManager.OnStreamNetworksChanged

type: PropertyEvent.<Array.<number>>

This event is emitted when the property StreamNetworks changes in the remote object. The property StreamNetworks is described in the AES70 standard as follows. Object numbers of <b>OcaStreamNetwork </b>objects, one for each network to which this device belongs. <b><u>Deprecated as of OCA 1.4.</u></b>

OcaNetworkManager.GetControlNetworks()

Gets the list of object numbers of OcaControlNetwork instances in this device. Return value indicates whether list was successfully retrieved. Introduced in version 1.4.

Returns

Promise.<Array.<number>> – A promise which resolves to a single value of type number[].

OcaNetworkManager.GetMediaTransportNetworks()

Gets the list of object numbers of OcaMediaTransportNetwork instances in this device. Return value indicates whether list was successfully retrieved. Introduced in version 1.4.

Returns

Promise.<Array.<number>> – A promise which resolves to a single value of type number[].

OcaNetworkManager.GetNetworks()

Gets the list of object numbers of OcaNetwork instances in this device. Return value indicates whether the list was successfully retrieved. Deprecated as of OCA 1.2

Returns

Promise.<Array.<number>> – A promise which resolves to a single value of type number[].

OcaNetworkManager.GetStreamNetworks()

Gets the list of object numbers of OcaStreamNetwork instances in this device. Return value indicates whether list was successfully retrieved. Deprecated as of OCA 1.4.

Returns

Promise.<Array.<number>> – A promise which resolves to a single value of type number[].