fm.liveswitch.IDataStream< TDataChannel > Interface Template Reference

Data stream interface. More...

Public Member Functions

abstract TDataChannel[] getChannels ()
 Gets the channels. More...
 
abstract fm.liveswitch.DataStreamInfo getInfo ()
 Gets the data stream info. More...
 
- Public Member Functions inherited from fm.liveswitch.IStream
abstract void addOnDirectionChange (fm.liveswitch.IAction0 value)
 Adds a handler that is raised when the signalling state changes. More...
 
abstract void addOnStateChange (fm.liveswitch.IAction0 value)
 Adds a handler that is raised when the stream state changes. More...
 
abstract fm.liveswitch.Error changeDirection (fm.liveswitch.StreamDirection newDirection)
 Changes this stream's direction. More...
 
abstract fm.liveswitch.StreamDirection getDirection ()
 Gets the current direction. More...
 
abstract String getExternalId ()
 Gets the external identifier. More...
 
abstract String getId ()
 Gets the identifier. More...
 
abstract String getLabel ()
 Gets a label that identifies this class. More...
 
abstract fm.liveswitch.StreamDirection getLocalDirection ()
 Gets current direction indicated by the local description. More...
 
abstract boolean getLocalReceive ()
 Gets a value indicating whether receiving media is supported by the local peer on this stream. More...
 
abstract boolean getLocalSend ()
 Gets a value indicating whether sending media is supported by the local peer on this stream. More...
 
abstract String getMediaDescriptionId ()
 Gets the media description identifier. More...
 
abstract fm.liveswitch.StreamDirection getRemoteDirection ()
 Gets the current direction indicated by the remote description. More...
 
abstract boolean getRemoteReceive ()
 Gets a value indicating whether receiving media is supported by the local peer on this stream. More...
 
abstract boolean getRemoteSend ()
 Gets a value indicating whether sending media is supported by the remote peer on this stream. More...
 
abstract fm.liveswitch.StreamState getState ()
 Gets the current state. More...
 
abstract String getTag ()
 Gets optional data to associate with this instance. More...
 
abstract fm.liveswitch.TransportInfo getTransportInfo ()
 Gets the stream transport info. More...
 
abstract fm.liveswitch.StreamType getType ()
 Gets the type. More...
 
abstract void removeOnDirectionChange (fm.liveswitch.IAction0 value)
 Removes a handler that is raised when the signalling state changes. More...
 
abstract void removeOnStateChange (fm.liveswitch.IAction0 value)
 Removes a handler that is raised when the stream state changes. More...
 
abstract void setExternalId (String value)
 Sets the external identifier. More...
 
abstract void setLocalDirection (fm.liveswitch.StreamDirection value)
 Sets current direction indicated by the local description. More...
 
abstract void setLocalReceive (boolean value)
 Sets a value indicating whether receiving media is supported by the local peer on this stream. More...
 
abstract void setLocalSend (boolean value)
 Sets a value indicating whether sending media is supported by the local peer on this stream. More...
 
abstract void setTag (String value)
 Sets optional data to associate with this instance. More...
 

Detailed Description

Data stream interface.

Member Function Documentation

◆ getChannels()

abstract TDataChannel [] fm.liveswitch.IDataStream< TDataChannel >.getChannels ( )
abstract

Gets the channels.

Implemented in fm.liveswitch.DataStream.

◆ getInfo()

abstract fm.liveswitch.DataStreamInfo fm.liveswitch.IDataStream< TDataChannel >.getInfo ( )
abstract

Gets the data stream info.