FMLiveSwitchIceSocketManager Class Reference

Instance Methods

(void) - closeSocket
 
(FMLiveSwitchError *) - error
 
(FMLiveSwitchIceGatherOptions *) - gatherOptions
 
(int) - hash
 
(NSString *) - id
 
(instancetype) - initWithLockObject:manager:
 
(bool) - isGathering
 
(int) - localPreference
 
(id- lock
 
(FMLiveSwitchAction1< FMLiveSwitchIceSocketManager * > *) - onAllocationMismatchException
 
(FMLiveSwitchAction1< FMLiveSwitchIceCandidate * > *) - onLocalCandidate
 
(FMLiveSwitchAction1< FMLiveSwitchIceSocketManager * > *) - onStateChange
 
(void) - processRelayedCandidateStateChangedWithCandidateState:
 
(FMLiveSwitchProtocolType) - protocol
 
(void) - raiseLocalCandidate:
 
(void) - removeTransactionWithItem:
 
(FMLiveSwitchError *) - sendApplicationDataWithBuffer:remote:turnRelay:
 
(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:
 
(bool) - startWithOptions:
 
(FMLiveSwitchIceGatheringState) - state
 
(bool) - stop
 
(void) - turnPreProcessWithBuffer:address:relay:newBuffer:newAddress:
 
(void) - verifyAllRelayedCandidatesStopped
 

Class Methods

(FMLiveSwitchIceSocketManager *) + socketManagerWithLockObject:manager:
 

Method Documentation

◆ closeSocket

◆ error

- (FMLiveSwitchError*) error

◆ gatherOptions

- (FMLiveSwitchIceGatherOptions*) gatherOptions

◆ hash

- (int) hash

◆ id

- (NSString*) id

◆ initWithLockObject:manager:

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

◆ isGathering

- (bool) isGathering

◆ localPreference

- (int) localPreference

◆ lock

- (id) lock

◆ onAllocationMismatchException

- (FMLiveSwitchAction1<FMLiveSwitchIceSocketManager*>*) onAllocationMismatchException

◆ onLocalCandidate

- (FMLiveSwitchAction1<FMLiveSwitchIceCandidate*>*) onLocalCandidate

◆ onStateChange

- (FMLiveSwitchAction1<FMLiveSwitchIceSocketManager*>*) onStateChange

◆ processRelayedCandidateStateChangedWithCandidateState:

- (void) processRelayedCandidateStateChangedWithCandidateState: (FMLiveSwitchIceLocalRelayedCandidateState)  candidateState

◆ protocol

- (FMLiveSwitchProtocolType) protocol

◆ raiseLocalCandidate:

- (void) raiseLocalCandidate: (FMLiveSwitchIceCandidate *)  localCandidate

◆ removeTransactionWithItem:

- (void) removeTransactionWithItem: (FMLiveSwitchScheduledItem *)  item

◆ sendApplicationDataWithBuffer:remote:turnRelay:

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

◆ serverAllocateWithUsername:password:ipAddress:port:raiseStun:nonce:realm:sendMessage:onResponse:onTimeout:

- (void) serverAllocateWithUsername: (NSString *)  username
password: (NSString *)  password
ipAddress: (NSString *)  ipAddress
port: (int)  port
raiseStun: (bool)  raiseStun
nonce: (NSString *)  nonce
realm: (NSString *)  realm
sendMessage: (FMLiveSwitchAction1< FMLiveSwitchScheduledItem * > *)  sendMessage
onResponse: (FMLiveSwitchAction1< FMLiveSwitchIceSendRequestSuccessArgs * > *)  onResponse
onTimeout: (FMLiveSwitchAction1< FMLiveSwitchScheduledItem * > *)  onTimeout 

◆ serverAllocateWithUsername:password:ipAddress:port:raiseStun:nonce:realm:sendMessageBlock:onResponseBlock:onTimeoutBlock:

- (void) serverAllocateWithUsername: (NSString *)  username
password: (NSString *)  password
ipAddress: (NSString *)  ipAddress
port: (int)  port
raiseStun: (bool)  raiseStun
nonce: (NSString *)  nonce
realm: (NSString *)  realm
sendMessageBlock: (void(^)(FMLiveSwitchScheduledItem *))  sendMessageBlock
onResponseBlock: (void(^)(FMLiveSwitchIceSendRequestSuccessArgs *))  onResponseBlock
onTimeoutBlock: (void(^)(FMLiveSwitchScheduledItem *))  onTimeoutBlock 

◆ serverAllocateWithUsernameAndPasswordAndIPAddressAndPortAndRaiseStunAndNonceAndRealmAndSendMessageBlockAndOnResponseBlockAndOnTimeoutBlock

- (FMLiveSwitchScheduledItem*) serverAllocateWithUsernameAndPasswordAndIPAddressAndPortAndRaiseStunAndNonceAndRealmAndSendMessageBlockAndOnResponseBlockAndOnTimeoutBlock

◆ serverBindWithAddress:nonce:sendMessage:onResponse:onTimeout:

- (void) serverBindWithAddress: (FMLiveSwitchTransportAddress *)  address
nonce: (NSString *)  nonce
sendMessage: (FMLiveSwitchAction1< FMLiveSwitchScheduledItem * > *)  sendMessage
onResponse: (FMLiveSwitchAction1< FMLiveSwitchIceSendRequestSuccessArgs * > *)  onResponse
onTimeout: (FMLiveSwitchAction1< FMLiveSwitchScheduledItem * > *)  onTimeout 

◆ serverBindWithAddress:nonce:sendMessageBlock:onResponseBlock:onTimeoutBlock:

- (void) serverBindWithAddress: (FMLiveSwitchTransportAddress *)  address
nonce: (NSString *)  nonce
sendMessageBlock: (void(^)(FMLiveSwitchScheduledItem *))  sendMessageBlock
onResponseBlock: (void(^)(FMLiveSwitchIceSendRequestSuccessArgs *))  onResponseBlock
onTimeoutBlock: (void(^)(FMLiveSwitchScheduledItem *))  onTimeoutBlock 

◆ serverBindWithAddressAndNonceAndSendMessageBlockAndOnResponseBlockAndOnTimeoutBlock

- (FMLiveSwitchScheduledItem*) serverBindWithAddressAndNonceAndSendMessageBlockAndOnResponseBlockAndOnTimeoutBlock

◆ setError:

- (void) setError: (FMLiveSwitchError *)  value

◆ setGatherOptions:

- (void) setGatherOptions: (FMLiveSwitchIceGatherOptions *)  value

◆ setLocalPreference:

- (void) setLocalPreference: (int)  value

◆ setLock:

- (void) setLock: (id value

◆ setOnAllocationMismatchException:

- (void) setOnAllocationMismatchException: (FMLiveSwitchAction1< FMLiveSwitchIceSocketManager * > *)  value

◆ setOnAllocationMismatchExceptionBlock

- (FMLiveSwitchIceSocketManager*) setOnAllocationMismatchExceptionBlock

◆ setOnAllocationMismatchExceptionBlock:

- (void) setOnAllocationMismatchExceptionBlock: (void(^)(FMLiveSwitchIceSocketManager *))  valueBlock

◆ setOnLocalCandidate:

- (void) setOnLocalCandidate: (FMLiveSwitchAction1< FMLiveSwitchIceCandidate * > *)  value

◆ setOnLocalCandidateBlock

- (FMLiveSwitchIceCandidate*) setOnLocalCandidateBlock

◆ setOnLocalCandidateBlock:

- (void) setOnLocalCandidateBlock: (void(^)(FMLiveSwitchIceCandidate *))  valueBlock

◆ setOnStateChange:

- (void) setOnStateChange: (FMLiveSwitchAction1< FMLiveSwitchIceSocketManager * > *)  value

◆ setOnStateChangeBlock

- (FMLiveSwitchIceSocketManager*) setOnStateChangeBlock

◆ setOnStateChangeBlock:

- (void) setOnStateChangeBlock: (void(^)(FMLiveSwitchIceSocketManager *))  valueBlock

◆ setProtocol:

- (void) setProtocol: (FMLiveSwitchProtocolType)  value

◆ setState:

- (void) setState: (FMLiveSwitchIceGatheringState)  value

◆ socketManagerWithLockObject:manager:

+ (FMLiveSwitchIceSocketManager*) socketManagerWithLockObject: (id lockObject
manager: (FMLiveSwitchIceTransactionManager *)  manager 

◆ startWithOptions:

- (bool) startWithOptions: (FMLiveSwitchIceGatherOptions *)  options

◆ state

- (FMLiveSwitchIceGatheringState) state

◆ stop

- (bool) stop

◆ turnPreProcessWithBuffer:address:relay:newBuffer:newAddress:

- (void) turnPreProcessWithBuffer: (FMLiveSwitchDataBuffer *)  buffer
address: (FMLiveSwitchTransportAddress *)  address
relay: (FMLiveSwitchTransportAddress *)  relay
newBuffer: (FMLiveSwitchDataBuffer **)  newBuffer
newAddress: (FMLiveSwitchTransportAddress **)  newAddress 

◆ verifyAllRelayedCandidatesStopped

- (void) verifyAllRelayedCandidatesStopped