FMIceLinkStunSoftwareAttribute Class Reference
Inherits from | FMIceLinkStunAttribute : NSObject |
---|---|
Declared in | FMIceLinkStunSoftwareAttribute.h FMIceLinkStunSoftwareAttribute.m |
Overview
The SOFTWARE attribute contains a textual [description](#//api/name/description) of the software
being used by the agent sending the message. It is used by clients
and servers. Its [value](#//api/name/value) SHOULD include manufacturer and version
number. The attribute has no impact on operation of the protocol,
and serves only as a tool for diagnostic and debugging purposes. The
[value](#//api/name/value) of SOFTWARE is variable length. It MUST be a UTF-8 [RFC3629]
encoded sequence of less than 128 characters (which can be as long as
763 bytes).
– 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
FMIceLinkStunSoftwareAttribute.h
– getValueLength
Gets the length of the attribute [value](#//api/name/value).
@return
- (int)getValueLength
Discussion
Gets the length of the attribute [value](#//api/name/value).
@return
Declared In
FMIceLinkStunSoftwareAttribute.h
– initWithValue:
Initializes a new instance of the FMIceLinkStunSoftwareAttribute class.
- (instancetype)initWithValue:(NSString *)value
Parameters
value |
The textual description of the software being used by the agent sending the message. |
---|
Discussion
Initializes a new instance of the FMIceLinkStunSoftwareAttribute class.
Declared In
FMIceLinkStunSoftwareAttribute.h
+ readValueFromWithBuffer:offset:length:
Initializes a new instance of the FMIceLinkStunSoftwareAttribute class.
+ (FMIceLinkStunSoftwareAttribute *)readValueFromWithBuffer:(FMIceLinkDataBuffer *)buffer offset:(int)offset length:(int)length
Parameters
buffer |
The buffer. |
---|---|
offset |
The offset. |
length |
The length. @return |
Discussion
Initializes a new instance of the FMIceLinkStunSoftwareAttribute class.
Declared In
FMIceLinkStunSoftwareAttribute.h
– setValue:
Sets the textual [description](#//api/name/description) of the software being used by
the agent sending the message.
- (void)setValue:(NSString *)value
Discussion
Sets the textual [description](#//api/name/description) of the software being used by
the agent sending the message.
Declared In
FMIceLinkStunSoftwareAttribute.h
+ softwareAttribute:
Initializes a new instance of the FMIceLinkStunSoftwareAttribute class.
+ (FMIceLinkStunSoftwareAttribute *)softwareAttribute:(NSString *)value
Parameters
value |
The textual description of the software being used by the agent sending the message. |
---|
Discussion
Initializes a new instance of the FMIceLinkStunSoftwareAttribute class.
Declared In
FMIceLinkStunSoftwareAttribute.h
– typeValue
Gets the type [value](#//api/name/value).
- (int)typeValue
Discussion
Gets the type [value](#//api/name/value).
Declared In
FMIceLinkStunSoftwareAttribute.h
– value
Gets the textual [description](#//api/name/description) of the software being used by
the agent sending the message.
- (NSString *)value
Discussion
Gets the textual [description](#//api/name/description) of the software being used by
the agent sending the message.
Declared In
FMIceLinkStunSoftwareAttribute.h
– writeValueToWithBuffer:offset:
Writes the attribute [value](#//api/name/value) to a data buffer.
- (void)writeValueToWithBuffer:(FMIceLinkDataBuffer *)buffer offset:(int)offset
Parameters
buffer |
The buffer. |
---|---|
offset |
The offset. |
Discussion
Writes the attribute [value](#//api/name/value) to a data buffer.
Declared In
FMIceLinkStunSoftwareAttribute.h