Class Methods | |
(FMLiveSwitchIceSocketManager *) | + socketManagerWithLockObject:manager: |
(FMLiveSwitchIceSocketManager *) | + socketManagerWithLockObject:manager:context: |
- (void) closeSocket |
Implemented in FMLiveSwitchIceStreamSocketManager, and FMLiveSwitchIceDatagramSocketManager.
- (FMLiveSwitchError*) error |
- (FMLiveSwitchIceGatherOptions*) gatherOptions |
- (int) hash |
- (instancetype) initWithLockObject: | (id) | lockObject | |
manager: | (FMLiveSwitchIceTransactionManager *) | manager | |
- (instancetype) initWithLockObject: | (id) | lockObject | |
manager: | (FMLiveSwitchIceTransactionManager *) | manager | |
context: | (FMLiveSwitchLogContext *) | context | |
- (bool) isGathering |
- (int) localPreference |
- (id) lock |
- (FMLiveSwitchAction1<FMLiveSwitchIceSocketManager*>*) onAllocationMismatchException |
- (FMLiveSwitchAction1<FMLiveSwitchIceCandidate*>*) onLocalCandidate |
- (FMLiveSwitchAction1<FMLiveSwitchIceSocketManager*>*) onStateChange |
- (void) processRelayedCandidateStateChangedWithCandidateState: | (FMLiveSwitchIceLocalRelayedCandidateState) | candidateState |
- (FMLiveSwitchProtocolType) protocol |
- (void) raiseLocalCandidate: | (FMLiveSwitchIceCandidate *) | localCandidate |
- (void) removeTransactionWithItem: | (FMLiveSwitchScheduledItem *) | item |
- (FMLiveSwitchError*) sendApplicationDataWithBuffer: | (FMLiveSwitchDataBuffer *) | buffer | |
remote: | (FMLiveSwitchIceCandidate *) | remote | |
turnRelay: | (FMLiveSwitchTransportAddress *) | turnRelay | |
Implemented in FMLiveSwitchIceStreamSocketManager, and FMLiveSwitchIceDatagramSocketManager.
- (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 | |
- (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 | |
- (FMLiveSwitchScheduledItem*) serverAllocateWithUsernameAndPasswordAndIPAddressAndPortAndRaiseStunAndNonceAndRealmAndSendMessageBlockAndOnResponseBlockAndOnTimeoutBlock |
- (void) serverBindWithAddress: | (FMLiveSwitchTransportAddress *) | address | |
nonce: | (NSString *) | nonce | |
sendMessage: | (FMLiveSwitchAction1< FMLiveSwitchScheduledItem * > *) | sendMessage | |
onResponse: | (FMLiveSwitchAction1< FMLiveSwitchIceSendRequestSuccessArgs * > *) | onResponse | |
onTimeout: | (FMLiveSwitchAction1< FMLiveSwitchScheduledItem * > *) | onTimeout | |
- (void) serverBindWithAddress: | (FMLiveSwitchTransportAddress *) | address | |
nonce: | (NSString *) | nonce | |
sendMessageBlock: | (void(^)(FMLiveSwitchScheduledItem *)) | sendMessageBlock | |
onResponseBlock: | (void(^)(FMLiveSwitchIceSendRequestSuccessArgs *)) | onResponseBlock | |
onTimeoutBlock: | (void(^)(FMLiveSwitchScheduledItem *)) | onTimeoutBlock | |
- (FMLiveSwitchScheduledItem*) serverBindWithAddressAndNonceAndSendMessageBlockAndOnResponseBlockAndOnTimeoutBlock |
- (void) setError: | (FMLiveSwitchError *) | value |
- (void) setGatherOptions: | (FMLiveSwitchIceGatherOptions *) | value |
- (void) setLocalPreference: | (int) | value |
- (void) setLock: | (id) | value |
- (void) setOnAllocationMismatchException: | (FMLiveSwitchAction1< FMLiveSwitchIceSocketManager * > *) | value |
- (FMLiveSwitchIceSocketManager*) setOnAllocationMismatchExceptionBlock |
- (void) setOnAllocationMismatchExceptionBlock: | (void(^)(FMLiveSwitchIceSocketManager *)) | valueBlock |
- (void) setOnLocalCandidate: | (FMLiveSwitchAction1< FMLiveSwitchIceCandidate * > *) | value |
- (FMLiveSwitchIceCandidate*) setOnLocalCandidateBlock |
- (void) setOnLocalCandidateBlock: | (void(^)(FMLiveSwitchIceCandidate *)) | valueBlock |
- (void) setOnStateChange: | (FMLiveSwitchAction1< FMLiveSwitchIceSocketManager * > *) | value |
- (FMLiveSwitchIceSocketManager*) setOnStateChangeBlock |
- (void) setOnStateChangeBlock: | (void(^)(FMLiveSwitchIceSocketManager *)) | valueBlock |
- (void) setProtocol: | (FMLiveSwitchProtocolType) | value |
- (void) setState: | (FMLiveSwitchIceGatheringState) | value |
+ (FMLiveSwitchIceSocketManager*) socketManagerWithLockObject: | (id) | lockObject | |
manager: | (FMLiveSwitchIceTransactionManager *) | manager | |
+ (FMLiveSwitchIceSocketManager*) socketManagerWithLockObject: | (id) | lockObject | |
manager: | (FMLiveSwitchIceTransactionManager *) | manager | |
context: | (FMLiveSwitchLogContext *) | context | |
- (bool) startWithOptions: | (FMLiveSwitchIceGatherOptions *) | options |
Implemented in FMLiveSwitchIceStreamSocketManager, and FMLiveSwitchIceDatagramSocketManager.
- (FMLiveSwitchIceGatheringState) state |
- (bool) stop |
- (void) turnPreProcessWithBuffer: | (FMLiveSwitchDataBuffer *) | buffer | |
address: | (FMLiveSwitchTransportAddress *) | address | |
relay: | (FMLiveSwitchTransportAddress *) | relay | |
newBuffer: | (FMLiveSwitchDataBuffer **) | newBuffer | |
newAddress: | (FMLiveSwitchTransportAddress **) | newAddress | |
- (void) verifyAllRelayedCandidatesStopped |