FMIceLinkStunNonceAttribute Class Reference
Inherits from | FMIceLinkStunAttribute : NSObject |
---|---|
Declared in | FMIceLinkStunNonceAttribute.h FMIceLinkStunNonceAttribute.m |
Overview
The NONCE attribute may be present in requests and responses. It
contains a sequence of qdtext or quoted-pair, which are defined in
RFC 3261 [RFC3261]. Note that this means that the NONCE attribute
will not contain actual quote characters. See RFC 2617 [RFC2617],
Section 4.3, for guidance on selection of nonce values in a server.
– 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
FMIceLinkStunNonceAttribute.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
FMIceLinkStunNonceAttribute.h
– initWithValue:
Initializes a new instance of the FMIceLinkStunNonceAttribute class.
- (instancetype)initWithValue:(NSString *)value
Parameters
value |
The nonce value. |
---|
Discussion
Initializes a new instance of the FMIceLinkStunNonceAttribute class.
Declared In
FMIceLinkStunNonceAttribute.h
+ nonceAttribute:
Initializes a new instance of the FMIceLinkStunNonceAttribute class.
+ (FMIceLinkStunNonceAttribute *)nonceAttribute:(NSString *)value
Parameters
value |
The nonce value. |
---|
Discussion
Initializes a new instance of the FMIceLinkStunNonceAttribute class.
Declared In
FMIceLinkStunNonceAttribute.h
+ readValueFromWithBuffer:offset:length:
Initializes a new instance of the FMIceLinkStunNonceAttribute class.
+ (FMIceLinkStunNonceAttribute *)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 FMIceLinkStunNonceAttribute class.
Declared In
FMIceLinkStunNonceAttribute.h
– setValue:
Sets the nonce [value](#//api/name/value).
- (void)setValue:(NSString *)value
Discussion
Sets the nonce [value](#//api/name/value).
Declared In
FMIceLinkStunNonceAttribute.h
– typeValue
Gets the type [value](#//api/name/value).
- (int)typeValue
Discussion
Gets the type [value](#//api/name/value).
Declared In
FMIceLinkStunNonceAttribute.h
– value
Gets the nonce value.
- (NSString *)value
Discussion
Gets the nonce value.
Declared In
FMIceLinkStunNonceAttribute.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
FMIceLinkStunNonceAttribute.h