FMIceLinkTurnServer Class Reference
Inherits from | FMIceLinkStunServer : FMIceLinkDynamic : FMIceLinkSerializable : NSObject |
---|---|
Declared in | FMIceLinkTurnServer.h FMIceLinkTurnServer.m |
– allocationCount
- (int)allocationCount
Discussion
Declared In
FMIceLinkTurnServer.h
– allocationPortMax
- (int)allocationPortMax
Discussion
Declared In
FMIceLinkTurnServer.h
– allocationPortMin
- (int)allocationPortMin
Discussion
Declared In
FMIceLinkTurnServer.h
– createExceptionResponseWithRequest:remoteAddress:error:
- (FMIceLinkStunMessage *)createExceptionResponseWithRequest:(FMIceLinkStunMessage *)request remoteAddress:(FMIceLinkTransportAddress *)remoteAddress error:(FMIceLinkStunError *)error
Parameters
request |
The request. |
---|---|
remoteAddress |
The remote address. |
error |
The error. |
Discussion
Declared In
FMIceLinkTurnServer.h
– defaultAllocateLifetime
- (long long)defaultAllocateLifetime
Discussion
Declared In
FMIceLinkTurnServer.h
– defaultRefreshLifetime
- (long long)defaultRefreshLifetime
Discussion
Declared In
FMIceLinkTurnServer.h
– disableBypass
- (bool)disableBypass
Discussion
Declared In
FMIceLinkTurnServer.h
– forceDefaultAllocateLifetime
- (bool)forceDefaultAllocateLifetime
Discussion
Declared In
FMIceLinkTurnServer.h
– forceDefaultRefreshLifetime
- (bool)forceDefaultRefreshLifetime
Discussion
Declared In
FMIceLinkTurnServer.h
– initWithAuthCallback:
- (instancetype)initWithAuthCallback:(FMIceLinkFunction1 *)authCallback
Parameters
authCallback |
The authentication callback. |
---|
Discussion
Declared In
FMIceLinkTurnServer.h
– initWithAuthCallbackBlock:
- (instancetype)initWithAuthCallbackBlock:(FMIceLinkTurnAuthResult *( ^ ) ( FMIceLinkTurnAuthArgs *))authCallbackBlock
Parameters
authCallbackBlock |
The authentication callback. |
---|
Discussion
Declared In
FMIceLinkTurnServer.h
– label
- (NSString *)label
Discussion
Declared In
FMIceLinkTurnServer.h
– maxAllocateLifetime
- (long long)maxAllocateLifetime
Discussion
Declared In
FMIceLinkTurnServer.h
– maxRefreshLifetime
- (long long)maxRefreshLifetime
Discussion
Declared In
FMIceLinkTurnServer.h
– minAllocateLifetime
- (long long)minAllocateLifetime
Discussion
Declared In
FMIceLinkTurnServer.h
– minRefreshLifetime
- (long long)minRefreshLifetime
Discussion
Declared In
FMIceLinkTurnServer.h
– nonce
- (NSString *)nonce
Discussion
Declared In
FMIceLinkTurnServer.h
– processBuffer:udpServerSocket:tcpServerSocket:localAddress:remoteAddress:readLength:
- (bool)processBuffer:(FMIceLinkDataBuffer *)buffer udpServerSocket:(FMIceLinkDatagramSocket *)udpServerSocket tcpServerSocket:(FMIceLinkStreamSocket *)tcpServerSocket localAddress:(FMIceLinkServerAddress *)localAddress remoteAddress:(FMIceLinkTransportAddress *)remoteAddress readLength:(int *)readLength
Parameters
buffer |
The buffer. |
---|---|
udpServerSocket |
The UDP server socket. |
tcpServerSocket |
The TCP server socket. |
localAddress |
The local address. |
remoteAddress |
The remote address. |
readLength |
Length of the read. |
Discussion
Declared In
FMIceLinkTurnServer.h
– processWithRequest:udpServerSocket:tcpServerSocket:localAddress:remoteAddress:
- (FMIceLinkStunMessage *)processWithRequest:(FMIceLinkStunMessage *)request udpServerSocket:(FMIceLinkDatagramSocket *)udpServerSocket tcpServerSocket:(FMIceLinkStreamSocket *)tcpServerSocket localAddress:(FMIceLinkServerAddress *)localAddress remoteAddress:(FMIceLinkTransportAddress *)remoteAddress
Parameters
request |
The request. |
---|---|
udpServerSocket |
The UDP server socket. |
tcpServerSocket |
The TCP server socket. |
localAddress |
The local address. |
remoteAddress |
The remote address. |
Discussion
Declared In
FMIceLinkTurnServer.h
– realm
- (NSString *)realm
Discussion
Declared In
FMIceLinkTurnServer.h
– setAllocationPortMax:
- (void)setAllocationPortMax:(int)value
Discussion
Declared In
FMIceLinkTurnServer.h
– setAllocationPortMin:
- (void)setAllocationPortMin:(int)value
Discussion
Declared In
FMIceLinkTurnServer.h
– setDefaultAllocateLifetime:
- (void)setDefaultAllocateLifetime:(long long)value
Discussion
Declared In
FMIceLinkTurnServer.h
– setDefaultRefreshLifetime:
- (void)setDefaultRefreshLifetime:(long long)value
Discussion
Declared In
FMIceLinkTurnServer.h
– setDisableBypass:
- (void)setDisableBypass:(bool)value
Discussion
Declared In
FMIceLinkTurnServer.h
– setForceDefaultAllocateLifetime:
- (void)setForceDefaultAllocateLifetime:(bool)value
Discussion
Declared In
FMIceLinkTurnServer.h
– setForceDefaultRefreshLifetime:
- (void)setForceDefaultRefreshLifetime:(bool)value
Discussion
Declared In
FMIceLinkTurnServer.h
– setMaxAllocateLifetime:
- (void)setMaxAllocateLifetime:(long long)value
Discussion
Declared In
FMIceLinkTurnServer.h
– setMaxRefreshLifetime:
- (void)setMaxRefreshLifetime:(long long)value
Discussion
Declared In
FMIceLinkTurnServer.h
– setRealm:
- (void)setRealm:(NSString *)value
Discussion
Declared In
FMIceLinkTurnServer.h
– setStaleNonceSecurity:
- (void)setStaleNonceSecurity:(bool)value
Discussion
Declared In
FMIceLinkTurnServer.h
– staleNonceSecurity
- (bool)staleNonceSecurity
Discussion
Declared In
FMIceLinkTurnServer.h
– startWithUdpAddresses:tcpAddresses:tlsAddresses:tlsCertificate:
- (bool)startWithUdpAddresses:(NSMutableArray *)udpAddresses tcpAddresses:(NSMutableArray *)tcpAddresses tlsAddresses:(NSMutableArray *)tlsAddresses tlsCertificate:(FMIceLinkTlsCertificate *)tlsCertificate
Parameters
udpAddresses |
The UDP addresses to listen on. |
---|---|
tcpAddresses |
The TCP addresses to listen on. |
tlsAddresses |
The TLS addresses to listen on. |
tlsCertificate |
The TLS certificate. |
Discussion
Declared In
FMIceLinkTurnServer.h
– stop
- (bool)stop
Discussion
Declared In
FMIceLinkTurnServer.h
+ turnServerWithAuthCallback:
+ (FMIceLinkTurnServer *)turnServerWithAuthCallback:(FMIceLinkFunction1 *)authCallback
Parameters
authCallback |
The authentication callback. |
---|
Discussion
Declared In
FMIceLinkTurnServer.h
+ turnServerWithAuthCallbackBlock:
+ (FMIceLinkTurnServer *)turnServerWithAuthCallbackBlock:(FMIceLinkTurnAuthResult *( ^ ) ( FMIceLinkTurnAuthArgs *))authCallbackBlock
Parameters
authCallbackBlock |
The authentication callback. |
---|
Discussion
Declared In
FMIceLinkTurnServer.h