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.0.3.0 (3.0.3.0)

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 propertyDisableTcp
Gets or sets whether to prevent the server from listening for TCP 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
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetDynamicValue
Gets a property value from the local cache.
(Inherited from Dynamic.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodProcess
Processes the specified request.
(Overrides StunServerProcess(Message, DatagramSocket, StreamSocket, ServerAddress, TransportAddress).)
Protected methodProcessBuffer
Processes the buffer.
(Overrides StunServerProcessBuffer(Byte, 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.
(Overrides StunServerStart(ServerAddress, ServerAddress).)
Public methodStop
Stops the server.
(Overrides StunServerStop.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnsetDynamicValue
Unsets a property value in the local cache.
(Inherited from Dynamic.)
Top
See Also