Deprecated CM2 Datatypes
OcaNetworkLinkType
OcaNetworkHostID
OcaNetworkNodeID
OcaStreamConnectorPinIndex
OcaNetworkSystemInterfaceID
-
struct OcaNetworkSystemInterfaceID
ID of a system interface used by a network. Format is data network type dependent.
-
OcaBlob SystemInterfaceHandle
Operating system handle for the interface the network uses to do I/O.
-
OcaNetworkAddress MyNetworkAddress
The data network address that corresponds to this system interface.
-
OcaBlob SystemInterfaceHandle
OcaNetworkSignalChannelID
OcaNetworkStatistics
OcaStreamConnectorID
OcaStream
-
struct OcaStream
A single-channel or multichannel signal flow between a local stream connector (i.e. OcaStreamConnector instance) of an OcaStreamNetwork object in this node and another (“remote”) stream connector. Normally, the remote stream connector is in another node. Each stream is unidirectional. With respect to the OcaStreamNetwork object in question, a stream is either:
Outbound: * A signal flow from an output connector port in the **OcaStreamNetwork* object to an external destination; or
Inbound: * A signal flow from an external source to an *input connector in the OcaStreamNetwork object.
An OcaStream object may represent either a unicast or a multicast stream. Any given OcaStreamConnector object may support multiple outbound flows, but not multiple inbound flows.
-
OcaStreamID IDAdvertised
Public identifier of this stream.
-
OcaStreamIndex Index
Index of this stream. Unique within owner OcaNetwork2 object.
-
OcaONo LocalConnectorONo
Object number of OcaStreamConnector object to which this stream is connected. A value of zero means the stream is not connected to any connector in this device.
-
OcaStreamConnectorIdentification RemoteConnectorIdentification
Full identifier of the connector at the far end of this stream.
-
OcaBoolean Secure
True if and only if connection is secure.
-
OcaStreamStatus Status
Current status of the stream.
-
OcaStreamParameters StreamParameters
Stream parameters (encoding, sampling, etc). Details TBD
-
OcaStreamType StreamType
Unicast or multicast
OcaNetworkControlProtocol
-
enum OcaNetworkControlProtocol : uint8_t
Network control protocols available.
-
enumerator None = 0
No control protocol - the network does not do control.
-
enumerator OCP01 = 1
OCP.1 - OCA protocol for TCP/IP networks
-
enumerator OCP02 = 2
OCP.2 - OCA protocol for USB links.
-
enumerator OCP03 = 3
OCP.3 - Character XML or JSON (tbd) version of OCA protocol, for serial links and other purposes.
-
enumerator None = 0
OcaStreamID
OcaStreamConnectorIdentification
-
struct OcaStreamConnectorIdentification
A signal source or sink connector at the far end of a stream - normally, in another device. Not all of the fields of this datatype need be used. The fields used will depend on remote device type, media transport network type, and media transport implementation. Normal usage scenarios are:
Unicast input or output: The OcaStream object is instantiated in an OcaStreamConnector object in the local device, and it links to an OcaStreamConnector object in a remote device.
Multicast input : The OcaStream object is instantiated in an OcaStreamConnector object in the local device, and, it may or may not link to an OcaStreamConnector object in a remote device.
Multicast output : The OcaStream object is instantiated in an OcaStreamConnector object in the local device, but in this case does not link to any specific remote connector object.
-
OcaNetworkHostID HostID
Public name or binary ID of host in which this connector resides.
-
OcaNetworkAddress NetworkAddress
Network address of host in which this connector resides.
-
OcaNetworkNodeID NodeID
Public name or binary ID of node within the host to which this connector belongs.
-
OcaStreamConnectorID StreamConnectorID
Public name or binary ID of this stream connector.
OcaStreamIndex
OcaNetworkStatus
-
enum OcaNetworkStatus : uint8_t
Network status enum.
-
enumerator Unknown = 0
Status is not known for some reason.
-
enumerator Ready = 1
Network is ready for data transfer.
-
enumerator StartingUp = 2
Network is starting up.
-
enumerator Stopped = 3
Network has been stopped by a call to the Stop() method. All media connections and/or control sessions have been closed.
-
enumerator Unknown = 0
OcaStreamConnectorStatus
-
enum OcaStreamConnectorStatus : uint8_t
Status options for a stream connector.
-
enumerator NotAvailable = 0
Connector is not ready to transfer data.
-
enumerator Idle = 1
Connector is ready for data transfer but is not connected to any streams.
-
enumerator Connected = 2
Connector is connected to at least one stream.
-
enumerator Paused = 3
Connector is connected to at least one stream but data transfer has been halted by controller request.
-
enumerator NotAvailable = 0
OcaNetworkSignalChannelStatus
OcaNetworkMediaSourceOrSink
-
enum OcaNetworkMediaSourceOrSink : uint8_t
enum that describes whether a port is a source (= sends program into the network; “talker”) or sink (=receives program from the network; “listener”)
-
enumerator None = 0
Port direction is undefined.
-
enumerator Source = 1
Port is source (= talker)
-
enumerator Sink = 2
Port is sink (=listener)
-
enumerator None = 0