FMIceLinkStunTurnChannelNumberAttribute Class Reference

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

Overview

The CHANNEL-NUMBER attribute contains the number of the channel.

– channelNumber

Gets the channel number.
- (int)channelNumber

Discussion

Gets the channel number.

Declared In

FMIceLinkStunTurnChannelNumberAttribute.h

+ channelNumberAttributeWithChannelNumber:

Initializes a new instance of the FMIceLinkStunTurnChannelNumberAttribute class.
+ (FMIceLinkStunTurnChannelNumberAttribute *)channelNumberAttributeWithChannelNumber:(int)channelNumber

Parameters

channelNumber

The channel number.

Discussion

Initializes a new instance of the FMIceLinkStunTurnChannelNumberAttribute class.

Declared In

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

FMIceLinkStunTurnChannelNumberAttribute.h

– getValueLength

Gets the length of the attribute value.

@return

- (int)getValueLength

Discussion

Gets the length of the attribute value.

@return

Declared In

FMIceLinkStunTurnChannelNumberAttribute.h

– initWithChannelNumber:

Initializes a new instance of the FMIceLinkStunTurnChannelNumberAttribute class.
- (instancetype)initWithChannelNumber:(int)channelNumber

Parameters

channelNumber

The channel number.

Discussion

Initializes a new instance of the FMIceLinkStunTurnChannelNumberAttribute class.

Declared In

FMIceLinkStunTurnChannelNumberAttribute.h

+ readValueFromWithBuffer:offset:

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

Parameters

buffer

The buffer.

offset

The offset. @return

Discussion

Initializes a new instance of the FMIceLinkStunTurnChannelNumberAttribute class.

Declared In

FMIceLinkStunTurnChannelNumberAttribute.h

– setChannelNumber:

Sets the channel number.
- (void)setChannelNumber:(int)value

Discussion

Sets the channel number.

Declared In

FMIceLinkStunTurnChannelNumberAttribute.h

– typeValue

Gets the type value.
- (int)typeValue

Discussion

Gets the type value.

Declared In

FMIceLinkStunTurnChannelNumberAttribute.h

– writeValueToWithBuffer:offset:

Gets the value as a byte array.
- (void)writeValueToWithBuffer:(FMIceLinkDataBuffer *)buffer offset:(int)offset

Discussion

Gets the value as a byte array.

Declared In

FMIceLinkStunTurnChannelNumberAttribute.h