FMIceLinkTurnServer Class Reference
| Inherits from | FMIceLinkStunServer : FMIceLinkDynamic : FMIceLinkSerializable : NSObject |
|---|---|
| Declared in | FMIceLinkTurnServer.h FMIceLinkTurnServer.m |
– allocationCount
- (int)allocationCountDiscussion
Declared In
FMIceLinkTurnServer.h
– allocationPortMax
- (int)allocationPortMaxDiscussion
Declared In
FMIceLinkTurnServer.h
– allocationPortMin
- (int)allocationPortMinDiscussion
Declared In
FMIceLinkTurnServer.h
– createExceptionResponseWithRequest:remoteAddress:error:
- (FMIceLinkStunMessage *)createExceptionResponseWithRequest:(FMIceLinkStunMessage *)request remoteAddress:(FMIceLinkTransportAddress *)remoteAddress error:(FMIceLinkStunError *)errorParameters
request |
The request. |
|---|---|
remoteAddress |
The remote address. |
error |
The error. |
Discussion
Declared In
FMIceLinkTurnServer.h
– defaultAllocateLifetime
- (long long)defaultAllocateLifetimeDiscussion
Declared In
FMIceLinkTurnServer.h
– defaultRefreshLifetime
- (long long)defaultRefreshLifetimeDiscussion
Declared In
FMIceLinkTurnServer.h
– disableBypass
- (bool)disableBypassDiscussion
Declared In
FMIceLinkTurnServer.h
– forceDefaultAllocateLifetime
- (bool)forceDefaultAllocateLifetimeDiscussion
Declared In
FMIceLinkTurnServer.h
– forceDefaultRefreshLifetime
- (bool)forceDefaultRefreshLifetimeDiscussion
Declared In
FMIceLinkTurnServer.h
– initWithAuthCallback:
- (instancetype)initWithAuthCallback:(FMIceLinkFunction1 *)authCallbackParameters
authCallback |
The authentication callback. |
|---|
Discussion
Declared In
FMIceLinkTurnServer.h
– initWithAuthCallbackBlock:
- (instancetype)initWithAuthCallbackBlock:(FMIceLinkTurnAuthResult *( ^ ) ( FMIceLinkTurnAuthArgs *))authCallbackBlockParameters
authCallbackBlock |
The authentication callback. |
|---|
Discussion
Declared In
FMIceLinkTurnServer.h
– label
- (NSString *)labelDiscussion
Declared In
FMIceLinkTurnServer.h
– maxAllocateLifetime
- (long long)maxAllocateLifetimeDiscussion
Declared In
FMIceLinkTurnServer.h
– maxRefreshLifetime
- (long long)maxRefreshLifetimeDiscussion
Declared In
FMIceLinkTurnServer.h
– minAllocateLifetime
- (long long)minAllocateLifetimeDiscussion
Declared In
FMIceLinkTurnServer.h
– minRefreshLifetime
- (long long)minRefreshLifetimeDiscussion
Declared In
FMIceLinkTurnServer.h
– nonce
- (NSString *)nonceDiscussion
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 *)readLengthParameters
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 *)remoteAddressParameters
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 *)realmDiscussion
Declared In
FMIceLinkTurnServer.h
– setAllocationPortMax:
- (void)setAllocationPortMax:(int)valueDiscussion
Declared In
FMIceLinkTurnServer.h
– setAllocationPortMin:
- (void)setAllocationPortMin:(int)valueDiscussion
Declared In
FMIceLinkTurnServer.h
– setDefaultAllocateLifetime:
- (void)setDefaultAllocateLifetime:(long long)valueDiscussion
Declared In
FMIceLinkTurnServer.h
– setDefaultRefreshLifetime:
- (void)setDefaultRefreshLifetime:(long long)valueDiscussion
Declared In
FMIceLinkTurnServer.h
– setDisableBypass:
- (void)setDisableBypass:(bool)valueDiscussion
Declared In
FMIceLinkTurnServer.h
– setForceDefaultAllocateLifetime:
- (void)setForceDefaultAllocateLifetime:(bool)valueDiscussion
Declared In
FMIceLinkTurnServer.h
– setForceDefaultRefreshLifetime:
- (void)setForceDefaultRefreshLifetime:(bool)valueDiscussion
Declared In
FMIceLinkTurnServer.h
– setMaxAllocateLifetime:
- (void)setMaxAllocateLifetime:(long long)valueDiscussion
Declared In
FMIceLinkTurnServer.h
– setMaxRefreshLifetime:
- (void)setMaxRefreshLifetime:(long long)valueDiscussion
Declared In
FMIceLinkTurnServer.h
– setRealm:
- (void)setRealm:(NSString *)valueDiscussion
Declared In
FMIceLinkTurnServer.h
– setStaleNonceSecurity:
- (void)setStaleNonceSecurity:(bool)valueDiscussion
Declared In
FMIceLinkTurnServer.h
– staleNonceSecurity
- (bool)staleNonceSecurityDiscussion
Declared In
FMIceLinkTurnServer.h
– startWithUdpAddresses:tcpAddresses:tlsAddresses:tlsCertificate:
- (bool)startWithUdpAddresses:(NSMutableArray *)udpAddresses tcpAddresses:(NSMutableArray *)tcpAddresses tlsAddresses:(NSMutableArray *)tlsAddresses tlsCertificate:(FMIceLinkTlsCertificate *)tlsCertificateParameters
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)stopDiscussion
Declared In
FMIceLinkTurnServer.h
+ turnServerWithAuthCallback:
+ (FMIceLinkTurnServer *)turnServerWithAuthCallback:(FMIceLinkFunction1 *)authCallbackParameters
authCallback |
The authentication callback. |
|---|
Discussion
Declared In
FMIceLinkTurnServer.h
+ turnServerWithAuthCallbackBlock:
+ (FMIceLinkTurnServer *)turnServerWithAuthCallbackBlock:(FMIceLinkTurnAuthResult *( ^ ) ( FMIceLinkTurnAuthArgs *))authCallbackBlockParameters
authCallbackBlock |
The authentication callback. |
|---|
Discussion
Declared In
FMIceLinkTurnServer.h