FMLiveSwitchIceDatagramSocketManager Class Reference

Instance Methods

(void) - closeSocket
 
(void) - gatherLocalNonHostCandidatesWithServer:policy:
 
(instancetype) - initWithLockObject:socket:manager:
 
(instancetype) - initWithLockObject:socket:manager:context:
 
(FMLiveSwitchTransportAddress *) - localTransportAddress
 
(FMLiveSwitchError *) - sendApplicationDataWithBuffer:remote:turnRelay:
 
(FMLiveSwitchDatagramSocket *) - socket
 
(bool) - startWithOptions:
 
- Instance Methods inherited from FMLiveSwitchIceSocketManager
(FMLiveSwitchError *) - error
 
(FMLiveSwitchIceGatherOptions *) - gatherOptions
 
(int) - hash
 
(NSString *) - id
 
(instancetype) - initWithLockObject:manager:
 
(instancetype) - initWithLockObject:manager:context:
 
(bool) - isGathering
 
(int) - localPreference
 
(id- lock
 
(FMLiveSwitchAction1< FMLiveSwitchIceSocketManager * > *) - onAllocationMismatchException
 
(FMLiveSwitchAction1< FMLiveSwitchIceCandidate * > *) - onLocalCandidate
 
(FMLiveSwitchAction1< FMLiveSwitchIceSocketManager * > *) - onStateChange
 
(void) - processRelayedCandidateStateChangedWithCandidateState:
 
(FMLiveSwitchProtocolType) - protocol
 
(void) - raiseLocalCandidate:
 
(void) - removeTransactionWithItem:
 
(void) - serverAllocateWithUsername:password:ipAddress:port:raiseStun:nonce:realm:sendMessage:onResponse:onTimeout:
 
(void) - serverAllocateWithUsername:password:ipAddress:port:raiseStun:nonce:realm:sendMessageBlock:onResponseBlock:onTimeoutBlock:
 
(FMLiveSwitchScheduledItem *) - serverAllocateWithUsernameAndPasswordAndIPAddressAndPortAndRaiseStunAndNonceAndRealmAndSendMessageBlockAndOnResponseBlockAndOnTimeoutBlock
 
(void) - serverBindWithAddress:nonce:sendMessage:onResponse:onTimeout:
 
(void) - serverBindWithAddress:nonce:sendMessageBlock:onResponseBlock:onTimeoutBlock:
 
(FMLiveSwitchScheduledItem *) - serverBindWithAddressAndNonceAndSendMessageBlockAndOnResponseBlockAndOnTimeoutBlock
 
(void) - setError:
 
(void) - setGatherOptions:
 
(void) - setLocalPreference:
 
(void) - setLock:
 
(void) - setOnAllocationMismatchException:
 
(FMLiveSwitchIceSocketManager *) - setOnAllocationMismatchExceptionBlock
 
(void) - setOnAllocationMismatchExceptionBlock:
 
(void) - setOnLocalCandidate:
 
(FMLiveSwitchIceCandidate *) - setOnLocalCandidateBlock
 
(void) - setOnLocalCandidateBlock:
 
(void) - setOnStateChange:
 
(FMLiveSwitchIceSocketManager *) - setOnStateChangeBlock
 
(void) - setOnStateChangeBlock:
 
(void) - setProtocol:
 
(void) - setState:
 
(FMLiveSwitchIceGatheringState) - state
 
(bool) - stop
 
(void) - turnPreProcessWithBuffer:address:relay:newBuffer:newAddress:
 
(void) - verifyAllRelayedCandidatesStopped
 

Class Methods

(FMLiveSwitchIceDatagramSocketManager *) + datagramSocketManagerWithLockObject:socket:manager:
 
(FMLiveSwitchIceDatagramSocketManager *) + datagramSocketManagerWithLockObject:socket:manager:context:
 
- Class Methods inherited from FMLiveSwitchIceSocketManager
(FMLiveSwitchIceSocketManager *) + socketManagerWithLockObject:manager:
 
(FMLiveSwitchIceSocketManager *) + socketManagerWithLockObject:manager:context:
 

Method Documentation

◆ closeSocket

- (void) closeSocket

◆ datagramSocketManagerWithLockObject:socket:manager:

+ (FMLiveSwitchIceDatagramSocketManager*) datagramSocketManagerWithLockObject: (id lockObject
socket: (FMLiveSwitchDatagramSocket *)  socket
manager: (FMLiveSwitchIceTransactionManager *)  manager 

◆ datagramSocketManagerWithLockObject:socket:manager:context:

+ (FMLiveSwitchIceDatagramSocketManager*) datagramSocketManagerWithLockObject: (id lockObject
socket: (FMLiveSwitchDatagramSocket *)  socket
manager: (FMLiveSwitchIceTransactionManager *)  manager
context: (FMLiveSwitchLogContext *)  context 

◆ gatherLocalNonHostCandidatesWithServer:policy:

- (void) gatherLocalNonHostCandidatesWithServer: (FMLiveSwitchIceServer *)  server
policy: (FMLiveSwitchIceGatherPolicy)  policy 

◆ initWithLockObject:socket:manager:

- (instancetype) initWithLockObject: (id lockObject
socket: (FMLiveSwitchDatagramSocket *)  socket
manager: (FMLiveSwitchIceTransactionManager *)  manager 

◆ initWithLockObject:socket:manager:context:

- (instancetype) initWithLockObject: (id lockObject
socket: (FMLiveSwitchDatagramSocket *)  socket
manager: (FMLiveSwitchIceTransactionManager *)  manager
context: (FMLiveSwitchLogContext *)  context 

◆ localTransportAddress

- (FMLiveSwitchTransportAddress*) localTransportAddress

◆ sendApplicationDataWithBuffer:remote:turnRelay:

- (FMLiveSwitchError*) sendApplicationDataWithBuffer: (FMLiveSwitchDataBuffer *)  buffer
remote: (FMLiveSwitchIceCandidate *)  remote
turnRelay: (FMLiveSwitchTransportAddress *)  turnRelay 

◆ socket

◆ startWithOptions:

- (bool) startWithOptions: (FMLiveSwitchIceGatherOptions *)  options