FMIceLinkStunTurnRequestedTransportAttribute Class Reference

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

Overview

This attribute is used by the client to request a specific transport [protocol](#//api/name/protocol) for the allocated transport address.

– 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

FMIceLinkStunTurnRequestedTransportAttribute.h

– getValueLength

Gets the length of the attribute value.

@return

- (int)getValueLength

Discussion

Gets the length of the attribute value.

@return

Declared In

FMIceLinkStunTurnRequestedTransportAttribute.h

– initWithProtocol:

Initializes a new instance of the FMIceLinkStunTurnRequestedTransportAttribute class.
- (instancetype)initWithProtocol:(int)protocol

Discussion

Initializes a new instance of the FMIceLinkStunTurnRequestedTransportAttribute class.

Declared In

FMIceLinkStunTurnRequestedTransportAttribute.h

– protocol

Gets the transport protocol.
- (int)protocol

Discussion

Gets the transport protocol.

Declared In

FMIceLinkStunTurnRequestedTransportAttribute.h

+ readValueFromWithBuffer:offset:

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

Parameters

buffer

The buffer.

offset

The offset. @return

Discussion

Initializes a new instance of the FMIceLinkStunTurnRequestedTransportAttribute class.

Declared In

FMIceLinkStunTurnRequestedTransportAttribute.h

+ requestedTransportAttributeWithProtocol:

Initializes a new instance of the FMIceLinkStunTurnRequestedTransportAttribute class.
+ (FMIceLinkStunTurnRequestedTransportAttribute *)requestedTransportAttributeWithProtocol:(int)protocol

Discussion

Initializes a new instance of the FMIceLinkStunTurnRequestedTransportAttribute class.

Declared In

FMIceLinkStunTurnRequestedTransportAttribute.h

– setProtocol:

Sets the transport [protocol](#//api/name/protocol).
- (void)setProtocol:(int)value

Discussion

Sets the transport [protocol](#//api/name/protocol).

Declared In

FMIceLinkStunTurnRequestedTransportAttribute.h

+ tcpProtocol

Gets the TCP transport [protocol](#//api/name/protocol).
+ (int)tcpProtocol

Discussion

Gets the TCP transport [protocol](#//api/name/protocol).

Declared In

FMIceLinkStunTurnRequestedTransportAttribute.h

– typeValue

Gets the type value.
- (int)typeValue

Discussion

Gets the type value.

Declared In

FMIceLinkStunTurnRequestedTransportAttribute.h

+ udpProtocol

Gets the UDP transport [protocol](#//api/name/protocol).
+ (int)udpProtocol

Discussion

Gets the UDP transport [protocol](#//api/name/protocol).

Declared In

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

FMIceLinkStunTurnRequestedTransportAttribute.h