FMLiveSwitchIceStreamSocketManager Class Reference

Instance Methods

(void) - closeSocket
 
(id- context
 
(instancetype) - initWithLockObject:socket:manager:server:scheduler:
 
(instancetype) - initWithLockObject:socket:manager:server:scheduler:context:
 
(instancetype) - initWithLockObject:socket:manager:server:scheduler:serverIpAddress:context:
 
(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:
 
(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

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

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: (NSObject< FMLiveSwitchIScheduler > *)  scheduler 

◆ initWithLockObject:socket:manager:server:scheduler:context:

- (instancetype) initWithLockObject: (id lockObject
socket: (FMLiveSwitchStreamSocket *)  socket
manager: (FMLiveSwitchIceTransactionManager *)  manager
server: (FMLiveSwitchIceServer *)  server
scheduler: (NSObject< FMLiveSwitchIScheduler > *)  scheduler
context: (FMLiveSwitchLogContext *)  context 

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

- (instancetype) initWithLockObject: (id lockObject
socket: (FMLiveSwitchStreamSocket *)  socket
manager: (FMLiveSwitchIceTransactionManager *)  manager
server: (FMLiveSwitchIceServer *)  server
scheduler: (NSObject< FMLiveSwitchIScheduler > *)  scheduler
serverIpAddress: (NSString *)  serverIpAddress
context: (FMLiveSwitchLogContext *)  context 

◆ 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: (NSObject< FMLiveSwitchIScheduler > *)  scheduler 

◆ streamSocketManagerWithLockObject:socket:manager:server:scheduler:context:

+ (FMLiveSwitchIceStreamSocketManager*) streamSocketManagerWithLockObject: (id lockObject
socket: (FMLiveSwitchStreamSocket *)  socket
manager: (FMLiveSwitchIceTransactionManager *)  manager
server: (FMLiveSwitchIceServer *)  server
scheduler: (NSObject< FMLiveSwitchIScheduler > *)  scheduler
context: (FMLiveSwitchLogContext *)  context 

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

+ (FMLiveSwitchIceStreamSocketManager*) streamSocketManagerWithLockObject: (id lockObject
socket: (FMLiveSwitchStreamSocket *)  socket
manager: (FMLiveSwitchIceTransactionManager *)  manager
server: (FMLiveSwitchIceServer *)  server
scheduler: (NSObject< FMLiveSwitchIScheduler > *)  scheduler
serverIpAddress: (NSString *)  serverIpAddress
context: (FMLiveSwitchLogContext *)  context