FMIceLinkStunRealmAttribute Class Reference
Inherits from | FMIceLinkStunAttribute : NSObject |
---|---|
Declared in | FMIceLinkStunRealmAttribute.h FMIceLinkStunRealmAttribute.m |
Overview
The REALM attribute may be present in requests and responses. It
contains text that meets the grammar for "realm-value" as described
in RFC 3261 [RFC3261] but without the double quotes and their
surrounding whitespace. That is, it is an unquoted realm[value](#//api/name/value) (and
is therefore a sequence of qdtext or quoted-pair). It MUST be a
UTF-8 [RFC3629] encoded sequence of less than 128 characters (which
can be as long as 763 bytes), and MUST have been processed using
SASLprep [RFC4013].
– 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
FMIceLinkStunRealmAttribute.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
FMIceLinkStunRealmAttribute.h
– initWithValue:
Initializes a new instance of the FMIceLinkStunRealmAttribute class.
- (instancetype)initWithValue:(NSString *)value
Parameters
value |
The realm value. |
---|
Discussion
Initializes a new instance of the FMIceLinkStunRealmAttribute class.
Declared In
FMIceLinkStunRealmAttribute.h
+ readValueFromWithBuffer:offset:length:
Initializes a new instance of the FMIceLinkStunRealmAttribute class.
+ (FMIceLinkStunRealmAttribute *)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 FMIceLinkStunRealmAttribute class.
Declared In
FMIceLinkStunRealmAttribute.h
+ realmAttribute:
Initializes a new instance of the FMIceLinkStunRealmAttribute class.
+ (FMIceLinkStunRealmAttribute *)realmAttribute:(NSString *)value
Parameters
value |
The realm value. |
---|
Discussion
Initializes a new instance of the FMIceLinkStunRealmAttribute class.
Declared In
FMIceLinkStunRealmAttribute.h
– setValue:
Sets the realm [value](#//api/name/value).
- (void)setValue:(NSString *)value
Discussion
Sets the realm [value](#//api/name/value).
Declared In
FMIceLinkStunRealmAttribute.h
– typeValue
Gets the type [value](#//api/name/value).
- (int)typeValue
Discussion
Gets the type [value](#//api/name/value).
Declared In
FMIceLinkStunRealmAttribute.h
– value
Gets the realm value.
- (NSString *)value
Discussion
Gets the realm value.
Declared In
FMIceLinkStunRealmAttribute.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
FMIceLinkStunRealmAttribute.h