FMIceLinkStunTransactionTransmitCounterAttribute Class Reference

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

Overview

0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Reserved(Padding) | Req | Resp | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Transaction Transmit Counter comprehension-optional STUN attribute.

– 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

FMIceLinkStunTransactionTransmitCounterAttribute.h

– getValueLength

Gets the length of the value.

@return

- (int)getValueLength

Discussion

Gets the length of the value.

@return

Declared In

FMIceLinkStunTransactionTransmitCounterAttribute.h

– initWithNumRequests:

Initializes a new instance of the FMIceLinkStunTransactionTransmitCounterAttribute class.
- (instancetype)initWithNumRequests:(int)numRequests

Parameters

numRequests

The number of times the request is transmitted with the same transaction ID to the server.

Discussion

Initializes a new instance of the FMIceLinkStunTransactionTransmitCounterAttribute class.

Declared In

FMIceLinkStunTransactionTransmitCounterAttribute.h

– initWithNumRequests:numResponses:

Initializes a new instance of the FMIceLinkStunTransactionTransmitCounterAttribute class.
- (instancetype)initWithNumRequests:(int)numRequests numResponses:(int)numResponses

Parameters

numRequests

The number of times the request is transmitted with the same transaction ID to the server.

numResponses

The number of times a response with the same transaction ID is sent from the server.

Discussion

Initializes a new instance of the FMIceLinkStunTransactionTransmitCounterAttribute class.

Declared In

FMIceLinkStunTransactionTransmitCounterAttribute.h

– numRequests

Gets the number of times the request is transmitted with the same transaction ID to the server.
- (int)numRequests

Discussion

Gets the number of times the request is transmitted with the same transaction ID to the server.

Declared In

FMIceLinkStunTransactionTransmitCounterAttribute.h

– numResponses

Gets the number of times a response with the same transaction ID is sent from the server. MUST be set to zero in requests and ignored by the receiver.
- (int)numResponses

Discussion

Gets the number of times a response with the same transaction ID is sent from the server. MUST be set to zero in requests and ignored by the receiver.

Declared In

FMIceLinkStunTransactionTransmitCounterAttribute.h

+ readValueFromWithBuffer:offset:

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

Parameters

buffer

The buffer.

offset

The offset. @return

Discussion

Initializes a new instance of the FMIceLinkStunTransactionTransmitCounterAttribute class.

Declared In

FMIceLinkStunTransactionTransmitCounterAttribute.h

– setNumRequests:

Sets the number of times the request is transmitted with the same transaction ID to the server.
- (void)setNumRequests:(int)value

Discussion

Sets the number of times the request is transmitted with the same transaction ID to the server.

Declared In

FMIceLinkStunTransactionTransmitCounterAttribute.h

– setNumResponses:

Sets the number of times a response with the same transaction ID is sent from the server. MUST be set to zero in requests and ignored by the receiver.
- (void)setNumResponses:(int)value

Discussion

Sets the number of times a response with the same transaction ID is sent from the server. MUST be set to zero in requests and ignored by the receiver.

Declared In

FMIceLinkStunTransactionTransmitCounterAttribute.h

+ transactionTransmitCounterAttributeWithNumRequests:

Initializes a new instance of the FMIceLinkStunTransactionTransmitCounterAttribute class.
+ (FMIceLinkStunTransactionTransmitCounterAttribute *)transactionTransmitCounterAttributeWithNumRequests:(int)numRequests

Parameters

numRequests

The number of times the request is transmitted with the same transaction ID to the server.

Discussion

Initializes a new instance of the FMIceLinkStunTransactionTransmitCounterAttribute class.

Declared In

FMIceLinkStunTransactionTransmitCounterAttribute.h

+ transactionTransmitCounterAttributeWithNumRequests:numResponses:

Initializes a new instance of the FMIceLinkStunTransactionTransmitCounterAttribute class.
+ (FMIceLinkStunTransactionTransmitCounterAttribute *)transactionTransmitCounterAttributeWithNumRequests:(int)numRequests numResponses:(int)numResponses

Parameters

numRequests

The number of times the request is transmitted with the same transaction ID to the server.

numResponses

The number of times a response with the same transaction ID is sent from the server.

Discussion

Initializes a new instance of the FMIceLinkStunTransactionTransmitCounterAttribute class.

Declared In

FMIceLinkStunTransactionTransmitCounterAttribute.h

– typeValue

Gets the type value.
- (int)typeValue

Discussion

Gets the type value.

Declared In

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

FMIceLinkStunTransactionTransmitCounterAttribute.h