FMIceLinkStunIceControlledAttribute Class Reference

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

Overview

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

+ controlledAttribute:

Initializes a new instance of the FMIceLinkStunIceControlledAttribute class.
+ (FMIceLinkStunIceControlledAttribute *)controlledAttribute:(long long)value

Parameters

value

The tiebreaker value.

Discussion

Initializes a new instance of the FMIceLinkStunIceControlledAttribute class.

Declared In

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

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

FMIceLinkStunIceControlledAttribute.h

– initWithValue:

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

Parameters

value

The tiebreaker value.

Discussion

Initializes a new instance of the FMIceLinkStunIceControlledAttribute class.

Declared In

FMIceLinkStunIceControlledAttribute.h

+ readValueFromWithBuffer:offset:

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

Parameters

buffer

The buffer.

offset

The offset. @return

Discussion

Initializes a new instance of the FMIceLinkStunIceControlledAttribute class.

Declared In

FMIceLinkStunIceControlledAttribute.h

– setValue:

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

Discussion

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

Declared In

FMIceLinkStunIceControlledAttribute.h

– typeValue

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

Discussion

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

Declared In

FMIceLinkStunIceControlledAttribute.h

– value

Gets the tiebreaker value.
- (long long)value

Discussion

Gets the tiebreaker value.

Declared In

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

FMIceLinkStunIceControlledAttribute.h