FMIceLinkStunIceControllingAttribute Class Reference

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

Overview

The ICE-CONTROLLING attribute is present in a Binding request and indicates that the client believes it is currently in the controlling role.

+ controllingAttribute:

Initializes a new instance of the FMIceLinkStunIceControllingAttribute class.
+ (FMIceLinkStunIceControllingAttribute *)controllingAttribute:(long long)value

Parameters

value

The tiebreaker value.

Discussion

Initializes a new instance of the FMIceLinkStunIceControllingAttribute class.

Declared In

FMIceLinkStunIceControllingAttribute.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

FMIceLinkStunIceControllingAttribute.h

– getValueLength

Gets the length of the attribute [value](#//api/name/value).

@return

- (int)getValueLength

Discussion

Gets the length of the attribute [value](#//api/name/value).

@return

Declared In

FMIceLinkStunIceControllingAttribute.h

– initWithValue:

Initializes a new instance of the FMIceLinkStunIceControllingAttribute class.
- (instancetype)initWithValue:(long long)value

Parameters

value

The tiebreaker value.

Discussion

Initializes a new instance of the FMIceLinkStunIceControllingAttribute class.

Declared In

FMIceLinkStunIceControllingAttribute.h

+ readValueFromWithBuffer:offset:

Initializes a new instance of the FMIceLinkStunIceControllingAttribute class.
+ (FMIceLinkStunIceControllingAttribute *)readValueFromWithBuffer:(FMIceLinkDataBuffer *)buffer offset:(int)offset

Parameters

buffer

The buffer.

offset

The offset. @return

Discussion

Initializes a new instance of the FMIceLinkStunIceControllingAttribute class.

Declared In

FMIceLinkStunIceControllingAttribute.h

– setValue:

Sets the tiebreaker [value](#//api/name/value).
- (void)setValue:(long long)value

Discussion

Sets the tiebreaker [value](#//api/name/value).

Declared In

FMIceLinkStunIceControllingAttribute.h

– typeValue

Gets the type [value](#//api/name/value).
- (int)typeValue

Discussion

Gets the type [value](#//api/name/value).

Declared In

FMIceLinkStunIceControllingAttribute.h

– value

Gets the tiebreaker value.
- (long long)value

Discussion

Gets the tiebreaker value.

Declared In

FMIceLinkStunIceControllingAttribute.h

– writeValueToWithBuffer:offset:

Writes the attribute [value](#//api/name/value) to a data buffer.
- (void)writeValueToWithBuffer:(FMIceLinkDataBuffer *)buffer offset:(int)offset

Parameters

buffer

The buffer.

offset

The offset.

Discussion

Writes the attribute [value](#//api/name/value) to a data buffer.

Declared In

FMIceLinkStunIceControllingAttribute.h