FMIceLinkStunTurnRequestedAddressFamilyAttribute Class Reference

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

Overview

The REQUESTED-ADDRESS-FAMILY attribute is used by clients to request the allocation of a specific address type from a server.

– addressFamily

Gets the address family.
- (int)addressFamily

Discussion

Gets the address family.

Declared In

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

FMIceLinkStunTurnRequestedAddressFamilyAttribute.h

– getValueLength

Gets the length of the attribute value.

@return

- (int)getValueLength

Discussion

Gets the length of the attribute value.

@return

Declared In

FMIceLinkStunTurnRequestedAddressFamilyAttribute.h

– initWithAddressFamily:

Initializes a new instance of the FMIceLinkStunTurnRequestedAddressFamilyAttribute class.
- (instancetype)initWithAddressFamily:(int)addressFamily

Parameters

addressFamily

The address family.

Discussion

Initializes a new instance of the FMIceLinkStunTurnRequestedAddressFamilyAttribute class.

Declared In

FMIceLinkStunTurnRequestedAddressFamilyAttribute.h

+ readValueFromWithBuffer:offset:

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

Parameters

buffer

The buffer.

offset

The offset. @return

Discussion

Initializes a new instance of the FMIceLinkStunTurnRequestedAddressFamilyAttribute class.

Declared In

FMIceLinkStunTurnRequestedAddressFamilyAttribute.h

+ requestedAddressFamilyAttributeWithAddressFamily:

Initializes a new instance of the FMIceLinkStunTurnRequestedAddressFamilyAttribute class.
+ (FMIceLinkStunTurnRequestedAddressFamilyAttribute *)requestedAddressFamilyAttributeWithAddressFamily:(int)addressFamily

Parameters

addressFamily

The address family.

Discussion

Initializes a new instance of the FMIceLinkStunTurnRequestedAddressFamilyAttribute class.

Declared In

FMIceLinkStunTurnRequestedAddressFamilyAttribute.h

– setAddressFamily:

Sets the address family.
- (void)setAddressFamily:(int)value

Discussion

Sets the address family.

Declared In

FMIceLinkStunTurnRequestedAddressFamilyAttribute.h

– typeValue

Gets the type value.
- (int)typeValue

Discussion

Gets the type value.

Declared In

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

FMIceLinkStunTurnRequestedAddressFamilyAttribute.h