Index

Class OcaStreamConnector

ClassID: 1.2.11

extends OcaAgent

DEPRECATED CLASS Replaced by the OcaMediaSinkConnector and OcaMediaSourceConnector datatypes in version 3 of Connection Management (CM3) Agent class for objects ("connectors") that allow connection of streams to the device. Streams may be single channels or multichannel groups. A connector is either a source or a sink. Sources are sometimes called "talkers". Sinks are sometimes called "listeners". Each connector links to zero or more OcaStream data objects. Each OcaStream object represents a signal flow to or from a local connector to a remote connector. The remote connector is usually, but not necessarily, in a different node. Each connector collects zero or more signal channels. A signal channel is an instance of OcaNetworkSignalChannel. Each signal channel exposes one media channel of the stream to the interior of the device. A signal channel therefore is a Worker that contains exactly one OcaPort data object. Each OcaStreamConnector object belongs to a particular instance of OcaStreamNetwork or a subclass of OcaStreamNetwork . Each OcaStreamConnector is linked to its network through the Owner property. This class may be subclassed to support various network types.

Properties

static readonly OcaClassID ClassID = 1.2.11

Level: 1 Index: 1

ID of this class

static readonly OcaClassVersionNumber ClassVersion = 2

Level: 1 Index: 2

Version number of this class

OcaStreamConnectorID IDAdvertised

Level: 3 Index: 2

Character name or binary identifier of this connector. This ID is advertised on the network to be found by other devices' discovery processes.

OcaONo OwnerNetwork

Level: 3 Index: 1

Object number of stream network object (OcaStreamNetwork or one of its subclasses) to which this connector belongs. In reconfigurable devices, a controller that creates an OcaStreamConnector object must store the appropriate stream network object number into this property. It is assumed that, upon receiving a value into its Owner property, the terminus object will by internal means register itself with the identified stream network.

OcaMap<OcaStreamConnectorPinIndex ,OcaONo> Pins

Level: 3 Index: 5

The map of connector pin indexes to OcaNetworkSignalChannel[Source|Sink] objects collected by this connector. The pin indexes are fixed indexes 1 to n, where n is the number of channels the connector accommodates (determined when the connector is created). If a certain pin in the connector is currently not attached the OcaONo of that index is 0.

OcaNetworkMediaSourceOrSink SourceOrSink

Level: 3 Index: 3

Specifies whether this connector is for output (source) or input (sink) signal channels.

OcaStreamConnectorStatus Status

Level: 3 Index: 6

Status of this terminus.

OcaMap<OcaStreamIndex ,OcaStream > Streams

Level: 3 Index: 4

The list of OcaStream data objects contained in (i.e. connected to) this connector.

Properties inherited from OcaAgent

OcaString Label

OcaONo Owner

Properties inherited from OcaRoot

readonly OcaONo ObjectNumber

readonly OcaBoolean Lockable

readonly OcaString Role

Methods

OcaStreamConnector::ConnectStream ( OcaStream Stream ) → ( OcaStreamIndex Index)

Level: 3 Index: 7

Connects a stream to this connector. Return status indicates success of operation.

OcaStreamConnector::DisconnectStream ( OcaStreamIndex StreamID )

Level: 3 Index: 8

Disconnects a stream from this connector. Return status indicates success of operation.

OcaStreamConnector::GetIDAdvertised ( ) → ( OcaStreamConnectorID IDAdvertised)

Level: 3 Index: 3

Gets the value of the IDAdvertised property. Return status indicates success of operation.

OcaStreamConnector::GetOwnerNetwork ( ) → ( OcaONo Network)

Level: 3 Index: 1

Gets the object number of the OcaStreamNetwork object to which this connector belongs. Return status indicates success of operation.

OcaStreamConnector::GetPins ( ) → ( OcaMap<OcaStreamConnectorPinIndex ,OcaONo> Pins)

Level: 3 Index: 10

Gets the list of object numbers of OcaNetworkSignalChannel objects connected to this connector. Return status indicates success of operation.

OcaStreamConnector::GetSourceOrSink ( ) → ( OcaNetworkMediaSourceOrSink SourceOrSink)

Level: 3 Index: 5

Gets the value of the SourceOrSink property. Return status indicates success of operation.

OcaStreamConnector::GetStatus ( ) → ( OcaStreamConnectorStatus Status)

Level: 3 Index: 11

Gets the value of the Status property. Return status indicates success of operation.

OcaStreamConnector::GetStreams ( ) → ( OcaMap<OcaStreamIndex ,OcaStream > Streams)

Level: 3 Index: 9

Gets the map of OcaStream items connected to this connector. Return status indicates success of operation.

OcaStreamConnector::SetIDAdvertised ( OcaStreamConnectorID IDAdvertised )

Level: 3 Index: 4

Sets the value of the IDAdvertised property. Return status indicates success of operation.

OcaStreamConnector::SetOwnerNetwork ( OcaONo Network )

Level: 3 Index: 2

Sets the object number of the OcaStreamNetwork object to which this connector belongs. Return status indicates success of operation. Only implemented for reconfigurable devices.

OcaStreamConnector::SetSourceOrSink ( OcaNetworkMediaSourceOrSink SourceOrSink )

Level: 3 Index: 6

Sets the value of the SourceOrSink property. Return status indicates success of operation. Only implemented for reconfigurable devices. Note that this method can only be called when the SignalChannels property is empty, i.e. does not contain any actual channels.

Methods inherited from OcaAgent

OcaAgent::GetLabel ( ) → ( OcaString Label)

OcaAgent::SetLabel ( OcaString Label )

OcaAgent::GetOwner ( ) → ( OcaONo owner)

OcaAgent::GetPath ( ) → ( OcaNamePath NamePath, OcaONoPath ONoPath)

Methods inherited from OcaRoot

OcaRoot::GetClassIdentification ( ) → ( OcaClassIdentification ClassIdentification)

OcaRoot::GetLockable ( ) → ( OcaBoolean lockable)

OcaRoot::LockTotal ( )

OcaRoot::Unlock ( )

OcaRoot::GetRole ( ) → ( OcaString Role)

OcaRoot::LockReadonly ( )