FMLiveSwitchIceStreamSocketManager Class Reference

Instance Methods

(void) - closeSocket
 
(id- context
 
(instancetype) - initWithLockObject:socket:manager:server:scheduler:
 
(instancetype) - initWithLockObject:socket:manager:server:scheduler:serverIpAddress:
 
(FMLiveSwitchIceLocalRelayedCandidate *) - localRelayedCandidate
 
(FMLiveSwitchError *) - sendApplicationDataWithBuffer:remote:turnRelay:
 
(NSString *) - serverIPAddress
 
(void) - setContext:
 
(FMLiveSwitchStreamSocket *) - socket
 
(bool) - startWithOptions:
 
- Instance Methods inherited from FMLiveSwitchIceSocketManager
(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:
 
(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

(FMLiveSwitchIceStreamSocketManager *) + streamSocketManagerWithLockObject:socket:manager:server:scheduler:
 
(FMLiveSwitchIceStreamSocketManager *) + streamSocketManagerWithLockObject:socket:manager:server:scheduler:serverIpAddress:
 
- Class Methods inherited from FMLiveSwitchIceSocketManager
(FMLiveSwitchIceSocketManager *) + socketManagerWithLockObject:manager:
 

Method Documentation

◆ closeSocket

- (void) closeSocket

◆ context

- (id) context

◆ initWithLockObject:socket:manager:server:scheduler:

- (instancetype) initWithLockObject: (id lockObject
socket: (FMLiveSwitchStreamSocket *)  socket
manager: (FMLiveSwitchIceTransactionManager *)  manager
server: (FMLiveSwitchIceServer *)  server
scheduler: (FMLiveSwitchScheduler *)  scheduler 

◆ initWithLockObject:socket:manager:server:scheduler:serverIpAddress:

- (instancetype) initWithLockObject: (id lockObject
socket: (FMLiveSwitchStreamSocket *)  socket
manager: (FMLiveSwitchIceTransactionManager *)  manager
server: (FMLiveSwitchIceServer *)  server
scheduler: (FMLiveSwitchScheduler *)  scheduler
serverIpAddress: (NSString *)  serverIpAddress 

◆ localRelayedCandidate

- (FMLiveSwitchIceLocalRelayedCandidate*) localRelayedCandidate

◆ sendApplicationDataWithBuffer:remote:turnRelay:

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

◆ serverIPAddress

- (NSString*) serverIPAddress

◆ setContext:

- (void) setContext: (id value

◆ socket

◆ startWithOptions:

- (bool) startWithOptions: (FMLiveSwitchIceGatherOptions *)  options

◆ streamSocketManagerWithLockObject:socket:manager:server:scheduler:

+ (FMLiveSwitchIceStreamSocketManager*) streamSocketManagerWithLockObject: (id lockObject
socket: (FMLiveSwitchStreamSocket *)  socket
manager: (FMLiveSwitchIceTransactionManager *)  manager
server: (FMLiveSwitchIceServer *)  server
scheduler: (FMLiveSwitchScheduler *)  scheduler 

◆ streamSocketManagerWithLockObject:socket:manager:server:scheduler:serverIpAddress:

+ (FMLiveSwitchIceStreamSocketManager*) streamSocketManagerWithLockObject: (id lockObject
socket: (FMLiveSwitchStreamSocket *)  socket
manager: (FMLiveSwitchIceTransactionManager *)  manager
server: (FMLiveSwitchIceServer *)  server
scheduler: (FMLiveSwitchScheduler *)  scheduler
serverIpAddress: (NSString *)  serverIpAddress