FMLiveSwitchDataStream Class Reference

A data stream. More...

Instance Methods

(NSMutableArray *) - channels
 Gets the channels. More...
 
(instancetype) - initWithChannel:
 Initializes a new instance of the FMLiveSwitchDataStream class. More...
 
(instancetype) - initWithChannels:
 Initializes a new instance of the FMLiveSwitchDataStream class. More...
 
(long long) - maxMessageSize
 Gets maximum message size that this client is willing to receive over this stream in bytes. More...
 
(int) - sctpPort
 Gets the SCTP port. More...
 
(void) - setMaxMessageSize:
 Sets maximum message size that this client is willing to receive over this stream in bytes. More...
 
(void) - setSctpPort:
 Sets the SCTP port. More...
 
(void) - setUseSdes:
 Sets a value indicating whether SDES encryption is in use for this stream. More...
 
(FMLiveSwitchTransportInfo *) - transportInfo
 Gets transport information. More...
 
(bool) - useSdes
 Gets a value indicating whether SDES encryption is in use for this stream. More...
 
- Instance Methods inherited from FMLiveSwitchDataStreamBase
(void) - attachToChannel:
 Attaches a data channel to this stream (events and IDs). More...
 
(long long) - bytesReceived
 Gets the number of bytes received. More...
 
(long long) - bytesSent
 Gets the number of bytes sent. More...
 
(NSString *) - canonicalName
 Gets the canonical name. More...
 
(FMLiveSwitchError *) - changeDirectionWithNewDirection:
 Changes this stream's direction. More...
 
(FMLiveSwitchStreamDirection) - direction
 Gets the current direction. More...
 
(FMLiveSwitchDataStreamInfo *) - info
 Gets the data stream info. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchDataStreamBase`1 class. More...
 
(NSString *) - label
 Gets a label that identifies this class. More...
 
(FMLiveSwitchStreamDirection) - localDirection
 Gets the current direction. More...
 
(long long) - messagesReceived
 Gets the number of messages received. More...
 
(long long) - messagesSent
 Gets the number of messages sent. More...
 
(void) - processStateChange
 Processes a state change. More...
 
(void) - processStateLockChange
 Processes a state lock change. More...
 
(void) - registerDataReceivedWithDataLength:
 Registers that a data has been received. More...
 
(void) - registerDataSentWithDataLength:
 Registers that a data has been received. More...
 
(FMLiveSwitchStreamDirection) - remoteDirection
 Gets the current direction. More...
 
(void) - setLocalDirection:
 Sets the current direction. More...
 

Class Methods

(FMLiveSwitchDataStream *) + dataStreamWithChannel:
 Initializes a new instance of the FMLiveSwitchDataStream class. More...
 
(FMLiveSwitchDataStream *) + dataStreamWithChannels:
 Initializes a new instance of the FMLiveSwitchDataStream class. More...
 
- Class Methods inherited from FMLiveSwitchDataStreamBase
(FMLiveSwitchDataStreamBase *) + dataStreamBase
 Initializes a new instance of the FMLiveSwitchDataStreamBase`1 class. More...
 

Additional Inherited Members

- Protected Attributes inherited from FMLiveSwitchDataStreamBase
 __pad0__: FMLiveSwitchStream<FMLiveSwitchIDataStream
 

Detailed Description

A data stream.

Method Documentation

◆ channels

- (NSMutableArray*) channels

Gets the channels.

Implements FMLiveSwitchDataStreamBase.

◆ dataStreamWithChannel:

+ (FMLiveSwitchDataStream*) dataStreamWithChannel: (FMLiveSwitchDataChannel *)  channel

Initializes a new instance of the FMLiveSwitchDataStream class.

Parameters
channelThe channel.

◆ dataStreamWithChannels:

+ (FMLiveSwitchDataStream*) dataStreamWithChannels: (NSMutableArray *)  channels

Initializes a new instance of the FMLiveSwitchDataStream class.

Parameters
channelsThe channels.

◆ initWithChannel:

- (instancetype) initWithChannel: (FMLiveSwitchDataChannel *)  channel

Initializes a new instance of the FMLiveSwitchDataStream class.

Parameters
channelThe channel.

◆ initWithChannels:

- (instancetype) initWithChannels: (NSMutableArray *)  channels

Initializes a new instance of the FMLiveSwitchDataStream class.

Parameters
channelsThe channels.

◆ maxMessageSize

- (long long) maxMessageSize

Gets maximum message size that this client is willing to receive over this stream in bytes.

◆ sctpPort

- (int) sctpPort

Gets the SCTP port.

◆ setMaxMessageSize:

- (void) setMaxMessageSize: (long long)  value

Sets maximum message size that this client is willing to receive over this stream in bytes.

◆ setSctpPort:

- (void) setSctpPort: (int)  value

Sets the SCTP port.

◆ setUseSdes:

- (void) setUseSdes: (bool)  value

Sets a value indicating whether SDES encryption is in use for this stream.

◆ transportInfo

- (FMLiveSwitchTransportInfo*) transportInfo

Gets transport information.

◆ useSdes

- (bool) useSdes

Gets a value indicating whether SDES encryption is in use for this stream.