FMIceLinkStunAlternateServerAttribute Class Reference

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

Overview

The alternate server represents an alternate trans[port](#//api/name/port) address identifying a different STUN server that the STUN client should try.

+ alternateServerAttributeWithIPAddress:port:

Initializes a new instance of the FMIceLinkStunAlternateServerAttribute class.
+ (FMIceLinkStunAlternateServerAttribute *)alternateServerAttributeWithIPAddress:(NSString *)ipAddress port:(int)port

Parameters

ipAddress

The IP address.

port

The port.

Discussion

Initializes a new instance of the FMIceLinkStunAlternateServerAttribute class.

Declared In

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

FMIceLinkStunAlternateServerAttribute.h

– getValueLength

Gets the length of the value.

@return

- (int)getValueLength

Discussion

Gets the length of the value.

@return

Declared In

FMIceLinkStunAlternateServerAttribute.h

– initWithIPAddress:port:

Initializes a new instance of the FMIceLinkStunAlternateServerAttribute class.
- (instancetype)initWithIPAddress:(NSString *)ipAddress port:(int)port

Parameters

ipAddress

The IP address.

port

The port.

Discussion

Initializes a new instance of the FMIceLinkStunAlternateServerAttribute class.

Declared In

FMIceLinkStunAlternateServerAttribute.h

– ipAddress

Gets the IP address.
- (NSString *)ipAddress

Discussion

Gets the IP address.

Declared In

FMIceLinkStunAlternateServerAttribute.h

– port

Gets the port.
- (int)port

Discussion

Gets the port.

Declared In

FMIceLinkStunAlternateServerAttribute.h

+ readValueFromWithBuffer:offset:

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

Parameters

buffer

The buffer.

offset

The offset. @return

Discussion

Initializes a new instance of the FMIceLinkStunAlternateServerAttribute class.

Declared In

FMIceLinkStunAlternateServerAttribute.h

– setIPAddress:

Sets the IP address.
- (void)setIPAddress:(NSString *)value

Discussion

Sets the IP address.

Declared In

FMIceLinkStunAlternateServerAttribute.h

– setPort:

Sets the [port](#//api/name/port).
- (void)setPort:(int)value

Discussion

Sets the [port](#//api/name/port).

Declared In

FMIceLinkStunAlternateServerAttribute.h

– typeValue

Gets the type value.
- (int)typeValue

Discussion

Gets the type value.

Declared In

FMIceLinkStunAlternateServerAttribute.h

– writeValueToWithBuffer:offset:

Writes the value to.
- (void)writeValueToWithBuffer:(FMIceLinkDataBuffer *)buffer offset:(int)offset

Parameters

buffer

The buffer.

offset

The offset.

Discussion

Writes the value to.

Declared In

FMIceLinkStunAlternateServerAttribute.h