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)portParameters
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 *)descriptionDiscussion
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)getValueLengthDiscussion
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)portParameters
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 *)ipAddressDiscussion
Gets the IP address.
Declared In
FMIceLinkStunAlternateServerAttribute.h
– port
Gets the port.
- (int)portDiscussion
Gets the port.
Declared In
FMIceLinkStunAlternateServerAttribute.h
+ readValueFromWithBuffer:offset:
Initializes a new instance of the FMIceLinkStunAlternateServerAttribute class.
+ (FMIceLinkStunAlternateServerAttribute *)readValueFromWithBuffer:(FMIceLinkDataBuffer *)buffer offset:(int)offsetParameters
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 *)valueDiscussion
Sets the IP address.
Declared In
FMIceLinkStunAlternateServerAttribute.h
– setPort:
Sets the [port](#//api/name/port).
- (void)setPort:(int)valueDiscussion
Sets the [port](#//api/name/port).
Declared In
FMIceLinkStunAlternateServerAttribute.h
– typeValue
Gets the type value.
- (int)typeValueDiscussion
Gets the type value.
Declared In
FMIceLinkStunAlternateServerAttribute.h
– writeValueToWithBuffer:offset:
Writes the value to.
- (void)writeValueToWithBuffer:(FMIceLinkDataBuffer *)buffer offset:(int)offsetParameters
buffer |
The buffer. |
|---|---|
offset |
The offset. |
Discussion
Writes the value to.
Declared In
FMIceLinkStunAlternateServerAttribute.h