FMIceLinkStunTurnConnectionIdAttribute Class Reference

Inherits from FMIceLinkStunAttribute : NSObject
Declared in FMIceLinkStunTurnConnectionIdAttribute.h
FMIceLinkStunTurnConnectionIdAttribute.m

Overview

The CONNECTION-ID attribute uniquely identifies a peer data connection.

– connectionId

Gets the connection ID.
- (long long)connectionId

Discussion

Gets the connection ID.

Declared In

FMIceLinkStunTurnConnectionIdAttribute.h

+ connectionIdAttributeWithConnectionId:

Initializes a new instance of the FMIceLinkStunTurnConnectionIdAttribute class.
+ (FMIceLinkStunTurnConnectionIdAttribute *)connectionIdAttributeWithConnectionId:(long long)connectionId

Parameters

connectionId

The connection ID.

Discussion

Initializes a new instance of the FMIceLinkStunTurnConnectionIdAttribute class.

Declared In

FMIceLinkStunTurnConnectionIdAttribute.h

– description

Returns a string that represents this instance.

@return A string that represents this instance.

- (NSString *)description

Discussion

Returns a string that represents this instance.

@return A string that represents this instance.

Declared In

FMIceLinkStunTurnConnectionIdAttribute.h

– getValueLength

Gets the length of the attribute value.

@return

- (int)getValueLength

Discussion

Gets the length of the attribute value.

@return

Declared In

FMIceLinkStunTurnConnectionIdAttribute.h

– initWithConnectionId:

Initializes a new instance of the FMIceLinkStunTurnConnectionIdAttribute class.
- (instancetype)initWithConnectionId:(long long)connectionId

Parameters

connectionId

The connection ID.

Discussion

Initializes a new instance of the FMIceLinkStunTurnConnectionIdAttribute class.

Declared In

FMIceLinkStunTurnConnectionIdAttribute.h

+ readValueFromWithBuffer:offset:

Initializes a new instance of the [FMIceLinkStunTurnChannelNumberAttribute](../Classes/FMIceLinkStunTurnChannelNumberAttribute.html) class.
+ (FMIceLinkStunTurnConnectionIdAttribute *)readValueFromWithBuffer:(FMIceLinkDataBuffer *)buffer offset:(int)offset

Parameters

buffer

The buffer.

offset

The offset. @return

Discussion

Initializes a new instance of the [FMIceLinkStunTurnChannelNumberAttribute](../Classes/FMIceLinkStunTurnChannelNumberAttribute.html) class.

Declared In

FMIceLinkStunTurnConnectionIdAttribute.h

– setConnectionId:

Sets the connection ID.
- (void)setConnectionId:(long long)value

Discussion

Sets the connection ID.

Declared In

FMIceLinkStunTurnConnectionIdAttribute.h

– typeValue

Gets the type value.
- (int)typeValue

Discussion

Gets the type value.

Declared In

FMIceLinkStunTurnConnectionIdAttribute.h

– writeValueToWithBuffer:offset:

Writes the attribute value to a data buffer.
- (void)writeValueToWithBuffer:(FMIceLinkDataBuffer *)buffer offset:(int)offset

Parameters

buffer

The buffer.

offset

The offset.

Discussion

Writes the attribute value to a data buffer.

Declared In

FMIceLinkStunTurnConnectionIdAttribute.h