FMLiveSwitchStunBindingRequest Class Reference

A STUN binding request. More...

Instance Methods

(instancetype) - init
 Initializes a new instance of the FMLiveSwitchStunBindingRequest class. More...
 
(instancetype) - initWithTransactionId:
 Initializes a new instance of the FMLiveSwitchStunBindingRequest class. More...
 
- Instance Methods inherited from FMLiveSwitchStunBindingMessage
(instancetype) - initWithMessageType:transactionId:
 Initializes a new instance of the FMLiveSwitchStunBindingMessage class. More...
 
(int) - method
 Gets the method. More...
 
- Instance Methods inherited from FMLiveSwitchStunMessage
(NSMutableArray *) - attributes
 Gets the message attributes. More...
 
(FMLiveSwitchStunAlternateServerAttribute *) - getAlternateServer
 Gets the alternate-server attribute. More...
 
(FMLiveSwitchStunTurnChannelNumberAttribute *) - getChannelNumber
 Gets the channel-number attribute. More...
 
(FMLiveSwitchStunTurnConnectionIdAttribute *) - getConnectionId
 Gets the connection-id attribute. More...
 
(FMLiveSwitchStunTurnDataAttribute *) - getData
 Gets the data attribute. More...
 
(FMLiveSwitchStunTurnDontFragmentAttribute *) - getDontFragment
 Gets the don't-fragment attribute. More...
 
(FMLiveSwitchStunErrorCodeAttribute *) - getErrorCode
 Gets the error-code attribute. More...
 
(FMLiveSwitchStunTurnEvenPortAttribute *) - getEvenPort
 Gets the even-port attribute. More...
 
(FMLiveSwitchStunFingerprintAttribute *) - getFingerprint
 Gets the fingerprint attribute. More...
 
(FMLiveSwitchStunIceControlledAttribute *) - getIceControlled
 Gets the ICE-controlled attribute. More...
 
(FMLiveSwitchStunIceControllingAttribute *) - getIceControlling
 Gets the ICE-controlling attribute. More...
 
(int) - getLength
 Gets the length of the message. More...
 
(FMLiveSwitchStunTurnLifetimeAttribute *) - getLifetime
 Gets the lifetime attribute. More...
 
(FMLiveSwitchStunMappedAddressAttribute *) - getMappedAddress
 Gets the mapped-address attribute. More...
 
(FMLiveSwitchStunMessageIntegrityAttribute *) - getMessageIntegrity
 Gets the message-integrity attribute. More...
 
(FMLiveSwitchStunNonceAttribute *) - getNonce
 Gets the nonce attribute. More...
 
(int) - getPayloadLength
 Gets the length of the payload. More...
 
(FMLiveSwitchStunIcePriorityAttribute *) - getPriority
 Gets the priority attribute. More...
 
(FMLiveSwitchStunRealmAttribute *) - getRealm
 Gets the realm attribute. More...
 
(FMLiveSwitchStunTurnRequestedAddressFamilyAttribute *) - getRequestedAddressFamily
 Gets the requested-address-family attribute. More...
 
(FMLiveSwitchStunTurnRequestedTransportAttribute *) - getRequestedTransport
 Gets the requested-transport attribute. More...
 
(FMLiveSwitchStunTurnReservationTokenAttribute *) - getReservationToken
 Gets the reservation-token attribute. More...
 
(FMLiveSwitchStunSoftwareAttribute *) - getSoftware
 Gets the software attribute. More...
 
(FMLiveSwitchStunTransactionTransmitCounterAttribute *) - getTransactionTransmitCounter
 Gets the transaction-transmit-counter attribute. More...
 
(FMLiveSwitchStunUnknownAttributesAttribute *) - getUnknownAttributes
 Gets the unknown-attributes attribute. More...
 
(FMLiveSwitchStunIceUseCandidateAttribute *) - getUseCandidate
 Gets the use-candidate attribute. More...
 
(FMLiveSwitchStunUsernameAttribute *) - getUsername
 Gets the username attribute. More...
 
(FMLiveSwitchStunXorMappedAddressAttribute *) - getXorMappedAddress
 Gets the XOR-mapped-address attribute. More...
 
(FMLiveSwitchStunTurnXorPeerAddressAttribute *) - getXorPeerAddress
 Gets the XOR-peer-address attribute. More...
 
(FMLiveSwitchStunTurnXorRelayedAddressAttribute *) - getXorRelayedAddress
 Gets the XOR-relayed-address attribute. More...
 
(FMLiveSwitchStunMessageType) - messageType
 Gets the message type. More...
 
(void) - setAlternateServerWithAttribute:
 Set the alternate-server attribute. More...
 
(void) - setChannelNumberWithAttribute:
 Sets the channel-number attribute. More...
 
(void) - setConnectionIdWithAttribute:
 Sets the connection-id attribute. More...
 
(void) - setDataWithAttribute:
 Sets the data attribute. More...
 
(void) - setDontFragmentWithAttribute:
 Sets the don't-fragment attribute. More...
 
(void) - setErrorCodeWithAttribute:
 Set the error-code attribute. More...
 
(void) - setEvenPortWithAttribute:
 Sets the even-port attribute. More...
 
(void) - setFingerprintWithAttribute:
 Set the fingerprint attribute. More...
 
(void) - setIceControlledWithAttribute:
 Sets the ICE-controlled attribute. More...
 
(void) - setIceControllingWithAttribute:
 Sets the ICE-controlling attribute. More...
 
(void) - setLifetimeWithAttribute:
 Sets the lifetime attribute. More...
 
(void) - setMappedAddressWithAttribute:
 Set the mapped-address attribute. More...
 
(void) - setMessageIntegrityWithAttribute:
 Set the message-integrity attribute. More...
 
(void) - setNonceWithAttribute:
 Set the nonce attribute. More...
 
(void) - setPriorityWithAttribute:
 Sets the priority attribute. More...
 
(void) - setRealmWithAttribute:
 Set the realm attribute. More...
 
(void) - setRequestedAddressFamilyWithAttribute:
 Sets the requested-address-family attribute. More...
 
(void) - setRequestedTransportWithAttribute:
 Sets the requested-transport attribute. More...
 
(void) - setReservationTokenWithAttribute:
 Sets the reservation-token attribute. More...
 
(void) - setSoftwareWithAttribute:
 Set the software attribute. More...
 
(void) - setTransactionTransmitCounterWithAttribute:
 Set the transaction-transmit-counter attribute. More...
 
(void) - setUnknownAttributesWithAttribute:
 Set the unknown-attributes attribute. More...
 
(void) - setUseCandidateWithAttribute:
 Sets the use-candidate attribute. More...
 
(void) - setUsernameWithAttribute:
 Set the username attribute. More...
 
(void) - setXorMappedAddressWithAttribute:
 Set the XOR-mapped-address attribute. More...
 
(void) - setXorPeerAddressWithAttribute:
 Sets the XOR-peer-address attribute. More...
 
(void) - setXorRelayedAddressWithAttribute:
 Sets the XOR-relayed-address attribute. More...
 
(FMLiveSwitchDataBuffer *) - transactionId
 Gets the transaction ID. More...
 
(void) - writeToWithBuffer:
 Writes the message to a data buffer. More...
 
(void) - writeToWithBuffer:offset:
 Writes the message to a data buffer. More...
 
(void) - writeToWithBuffer:offset:offsetPlus:
 Writes the message to a data buffer. More...
 

Class Methods

(FMLiveSwitchStunBindingRequest *) + bindingRequest
 Initializes a new instance of the FMLiveSwitchStunBindingRequest class. More...
 
(FMLiveSwitchStunBindingRequest *) + bindingRequestWithTransactionId:
 Initializes a new instance of the FMLiveSwitchStunBindingRequest class. More...
 
- Class Methods inherited from FMLiveSwitchStunBindingMessage
(FMLiveSwitchStunBindingMessage *) + bindingMessageWithMessageType:transactionId:
 Initializes a new instance of the FMLiveSwitchStunBindingMessage class. More...
 
- Class Methods inherited from FMLiveSwitchStunMessage
(int) + allocateMethod
 Gets the allocate method. More...
 
(int) + bindingMethod
 Gets the binding method. More...
 
(int) + channelBindMethod
 Gets the channel-bind method. More...
 
(int) + connectionAttemptMethod
 Gets the connection-attempt method. More...
 
(int) + connectionBindMethod
 Gets the connection-bind method. More...
 
(int) + connectMethod
 Gets the connect method. More...
 
(FMLiveSwitchStunMessage *) + createMessageWithMethod:messageType:transactionId:
 Creates a message. More...
 
(int) + createPermissionMethod
 Gets the create-permission method. More...
 
(int) + dataMethod
 Gets the data method. More...
 
(FMLiveSwitchDataBuffer *) + generateTransactionId
 Generates a random transaction ID. More...
 
(NSMutableData *) + magicCookieBytes
 Gets the "magic cookie" bytes. More...
 
(long long) + magicCookieValue
 Gets the "magic cookie" value. More...
 
(FMLiveSwitchStunMessage *) + messageWithMessageType:transactionId:
 Initializes a new instance of the FMLiveSwitchStunMessage class. More...
 
(FMLiveSwitchStunMessage *) + readFromWithBuffer:
 Reads a FMLiveSwitchStunMessage instance from a buffer. More...
 
(FMLiveSwitchStunMessage *) + readFromWithBuffer:offset:
 Reads a FMLiveSwitchStunMessage instance from a buffer. More...
 
(FMLiveSwitchStunMessage *) + readFromWithBuffer:offset:length:
 Reads an FMLiveSwitchStunMessage instance from a buffer. More...
 
(int) + refreshMethod
 Gets the refresh method. More...
 
(int) + sendMethod
 Gets the send method. More...
 

Detailed Description

A STUN binding request.

Method Documentation

◆ bindingRequest

+ (FMLiveSwitchStunBindingRequest*) bindingRequest

Initializes a new instance of the FMLiveSwitchStunBindingRequest class.

◆ bindingRequestWithTransactionId:

+ (FMLiveSwitchStunBindingRequest*) bindingRequestWithTransactionId: (FMLiveSwitchDataBuffer *)  transactionId

Initializes a new instance of the FMLiveSwitchStunBindingRequest class.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchStunBindingRequest class.

◆ initWithTransactionId:

- (instancetype) initWithTransactionId: (FMLiveSwitchDataBuffer *)  transactionId

Initializes a new instance of the FMLiveSwitchStunBindingRequest class.