- (void) close |
Implements FMLiveSwitchTurnAllocation.
- (instancetype) initWithUdpServerSocket: | (FMLiveSwitchDatagramSocket *) | udpServerSocket | |
tcpServerSocket: | (FMLiveSwitchStreamSocket *) | tcpServerSocket | |
transactionId: | (FMLiveSwitchDataBuffer *) | transactionId | |
reservation: | (FMLiveSwitchDataBuffer *) | reservation | |
socket: | (FMLiveSwitchDatagramSocket *) | socket | |
clientAddress: | (FMLiveSwitchTransportAddress *) | clientAddress | |
username: | (NSString *) | username | |
realm: | (NSString *) | realm | |
lifetime: | (long long) | lifetime | |
onReceive: | (FMLiveSwitchAction3< FMLiveSwitchTurnUdpAllocation *, FMLiveSwitchTransportAddress *, FMLiveSwitchDataBuffer * > *) | onReceive | |
onExpires: | (FMLiveSwitchAction1< FMLiveSwitchTransportAddress * > *) | onExpires | |
- (instancetype) initWithUdpServerSocket: | (FMLiveSwitchDatagramSocket *) | udpServerSocket | |
tcpServerSocket: | (FMLiveSwitchStreamSocket *) | tcpServerSocket | |
transactionId: | (FMLiveSwitchDataBuffer *) | transactionId | |
reservation: | (FMLiveSwitchDataBuffer *) | reservation | |
socket: | (FMLiveSwitchDatagramSocket *) | socket | |
clientAddress: | (FMLiveSwitchTransportAddress *) | clientAddress | |
username: | (NSString *) | username | |
realm: | (NSString *) | realm | |
lifetime: | (long long) | lifetime | |
onReceiveBlock: | (void(^)(FMLiveSwitchTurnUdpAllocation *, FMLiveSwitchTransportAddress *, FMLiveSwitchDataBuffer *)) | onReceiveBlock | |
onExpiresBlock: | (void(^)(FMLiveSwitchTransportAddress *)) | onExpiresBlock | |
- (bool) isClosed |
- (NSString*) localIPAddress |
Implements FMLiveSwitchTurnAllocation.
- (int) localPort |
Implements FMLiveSwitchTurnAllocation.
- (NSMutableArray*) publicIPAddresses |
Implements FMLiveSwitchTurnAllocation.
- (bool) sendDataWithBuffer: | (FMLiveSwitchDataBuffer *) | buffer | |
remoteAddress: | (FMLiveSwitchTransportAddress *) | remoteAddress | |
exception: | (NSException **) | exception | |
- (FMLiveSwitchDatagramSocket*) socket |
- (void) startReceiving |
- (FMLiveSwitchStreamSocket*) tcpServerSocket |
+ (FMLiveSwitchTurnUdpAllocation*) udpAllocationWithUdpServerSocket: | (FMLiveSwitchDatagramSocket *) | udpServerSocket | |
tcpServerSocket: | (FMLiveSwitchStreamSocket *) | tcpServerSocket | |
transactionId: | (FMLiveSwitchDataBuffer *) | transactionId | |
reservation: | (FMLiveSwitchDataBuffer *) | reservation | |
socket: | (FMLiveSwitchDatagramSocket *) | socket | |
clientAddress: | (FMLiveSwitchTransportAddress *) | clientAddress | |
username: | (NSString *) | username | |
realm: | (NSString *) | realm | |
lifetime: | (long long) | lifetime | |
onReceive: | (FMLiveSwitchAction3< FMLiveSwitchTurnUdpAllocation *, FMLiveSwitchTransportAddress *, FMLiveSwitchDataBuffer * > *) | onReceive | |
onExpires: | (FMLiveSwitchAction1< FMLiveSwitchTransportAddress * > *) | onExpires | |
+ (FMLiveSwitchTurnUdpAllocation*) udpAllocationWithUdpServerSocket: | (FMLiveSwitchDatagramSocket *) | udpServerSocket | |
tcpServerSocket: | (FMLiveSwitchStreamSocket *) | tcpServerSocket | |
transactionId: | (FMLiveSwitchDataBuffer *) | transactionId | |
reservation: | (FMLiveSwitchDataBuffer *) | reservation | |
socket: | (FMLiveSwitchDatagramSocket *) | socket | |
clientAddress: | (FMLiveSwitchTransportAddress *) | clientAddress | |
username: | (NSString *) | username | |
realm: | (NSString *) | realm | |
lifetime: | (long long) | lifetime | |
onReceiveBlock: | (void(^)(FMLiveSwitchTurnUdpAllocation *, FMLiveSwitchTransportAddress *, FMLiveSwitchDataBuffer *)) | onReceiveBlock | |
onExpiresBlock: | (void(^)(FMLiveSwitchTransportAddress *)) | onExpiresBlock | |
- (FMLiveSwitchDatagramSocket*) udpServerSocket |