Click or drag to resize

TurnServer Class

An TURN/STUN server.
Inheritance Hierarchy

Namespace:  FM.IceLink
Assembly:  FM.IceLink (in FM.IceLink.dll) Version: 3.2.2.607 (3.2.2.607)

The TurnServer type exposes the following members.

Constructors
  NameDescription
Public methodTurnServer
Initializes a new instance of the TurnServer class.
Top
Properties
  NameDescription
Public propertyAllocationCount
Gets the number of active allocations.
Public propertyAllocationPortMax
Gets or sets the maximum allowed port to be used when allocating sockets. The default value is 65535.
Public propertyAllocationPortMin
Gets or sets the minimum allowed port to be used when allocating sockets. The default value is 49152.
Public propertyCreateDatagramSocket
Gets or sets the create callback to create a datagram socket.
(Inherited from StunServer.)
Public propertyCreateStreamSocket
Gets or sets the create callback to create a stream socket.
(Inherited from StunServer.)
Public propertyDefaultAllocateLifetime
Gets or sets the default lifetime for new allocations in seconds. Defaults to 600 (10 minutes).
Public propertyDefaultRefreshLifetime
Gets or sets the default lifetime for refreshed allocations in seconds. Defaults to 600 (10 minutes).
Public propertyDisableBypass
Gets or sets a value indicating whether to disable the in-memory bypass of the network when communicating between two relay candidates.
Public propertyDisableTcp
Gets or sets whether to prevent the server from listening for TCP requests.
(Inherited from StunServer.)
Public propertyDisableTls
Gets or sets whether to prevent the server from listening for TLS requests.
(Inherited from StunServer.)
Public propertyDisableUdp
Gets or sets whether to prevent the server from listening for UDP requests.
(Inherited from StunServer.)
Public propertyDynamicProperties
Gets or sets the dynamic properties on this instance.
(Inherited from Dynamic.)
Public propertyForceDefaultAllocateLifetime
Gets or sets whether the server should force the default lifetime for new allocations (true) or allow clients to request their own lifetime within the min/max range (false). Defaults to false.
Public propertyForceDefaultRefreshLifetime
Gets or sets whether the server should force the default lifetime for refreshed allocations (true) or allow clients to request their own lifetime within the min/max range (false). Defaults to false.
Protected propertyIsDirty
Gets or sets a value indicating whether this instance is dirty.
(Inherited from Serializable.)
Protected propertyLabel
Gets the label.
(Overrides StunServerLabel.)
Public propertyLocalTcpAddress
Gets the local TCP address.
(Inherited from StunServer.)
Public propertyLocalTcpAddresses
Gets the local TCP addresses.
(Inherited from StunServer.)
Public propertyLocalUdpAddress
Gets the local UDP address.
(Inherited from StunServer.)
Public propertyLocalUdpAddresses
Gets the local UDP addresses.
(Inherited from StunServer.)
Public propertyMaxAllocateLifetime
Gets or sets the maximum lifetime for new allocations in seconds. Defaults to 3600 (1 hour).
Public propertyMaxRefreshLifetime
Gets or sets the maximum lifetime for refreshed allocations in seconds. Defaults to 3600 (1 hour).
Public propertyMinAllocateLifetime
Gets the minimum lifetime for new allocations in seconds. Equal to 600 (10 minutes).
Public propertyMinRefreshLifetime
Gets the minimum lifetime for refreshed allocations in seconds. Equal to 600 (10 minutes).
Public propertyNonce
Gets or sets the current nonce.
Public propertyRealm
Gets or sets the realm used for this server.
Public propertyStaleNonceSecurity
Gets or sets whether the server should enforce stale-nonce security by sending a 438 Stale Nonce in response to allocate requests with a stale or non-existent nonce.
Public propertyStreamSendTimeout
Gets or sets timeout for asynchronous data sending over stream sockets in ms. Defaults to unset.
(Inherited from StunServer.)
Top
Methods
  NameDescription
Protected methodCreateErrorResponse
Creates an error response with a ganeric Stun server error.
(Inherited from StunServer.)
Protected methodCreateExceptionResponse
Creates an exception response.
(Overrides StunServerCreateExceptionResponse(Message, TransportAddress, Error).)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetDynamicValue
Gets a property value from the local cache.
(Inherited from Dynamic.)
Public methodGetHashCode (Inherited from Object.)
Protected methodGetPrefix
Gets a prefix.
(Inherited from StunServer.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodProcess
Processes the specified request.
(Overrides StunServerProcess(Message, DatagramSocket, StreamSocket, ServerAddress, TransportAddress).)
Protected methodProcessBuffer
Processes the buffer.
(Overrides StunServerProcessBuffer(DataBuffer, DatagramSocket, StreamSocket, ServerAddress, TransportAddress, Int32).)
Public methodSetDynamicValue
Sets a property value in the local cache.
(Inherited from Dynamic.)
Public methodStart
Starts the server.
(Inherited from StunServer.)
Public methodStart(ServerAddress)
Starts the server.
(Inherited from StunServer.)
Public methodStart(ServerAddress, ServerAddress)
Starts the server.
(Inherited from StunServer.)
Public methodStart(ServerAddress, ServerAddress, ServerAddress)
Starts the server.
(Inherited from StunServer.)
Public methodStart(ServerAddress, ServerAddress, ServerAddress, TlsCertificate)
Starts the server.
(Overrides StunServerStart(ServerAddress, ServerAddress, ServerAddress, TlsCertificate).)
Public methodStop
Stops the server.
(Overrides StunServerStop.)
Public methodToString (Inherited from Object.)
Public methodUnsetDynamicValue
Unsets a property value in the local cache.
(Inherited from Dynamic.)
Top
See Also