Click or drag to resize
Connection Class
A peer-to-peer connection.
Inheritance Hierarchy
SystemObject
  FM.IceLinkSerializable
    FM.IceLinkDynamic
      FM.IceLinkConnectionBaseConnection
        FM.IceLinkConnection

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

The Connection type exposes the following members.

Constructors
  NameDescription
Public methodConnection
Initializes a new instance of the Connection class.
Public methodConnection(Stream)
Initializes a new instance of the Connection class.
Public methodConnection(Stream)
Initializes a new instance of the Connection class.
Top
Properties
  NameDescription
Public propertyDeadStreamTimeout
Gets or sets the amount of time (in milliseconds) to wait for connectivity checks to re-establish after they start to fail on a live connection. Defaults to 15,000.
(Inherited from ConnectionBaseTConnection.)
Public propertyDtlsCipherSuites
Gets or sets the DTLS cipher suites to use. Defaults to Aes128Sha, DhRsaAes128Sha, EcdhRsaAes128Sha, DheRsaAes128Sha, EcdheRsaAes128Sha, and EcdheEcdsaAes128Sha, Aes128GcmSha256, DhRsaAes128GcmSha256, EcdhRsaAes128GcmSha256, DheRsaAes128GcmSha256, EcdheRsaAes128GcmSha256, and EcdheEcdsaAes128GcmSha256.
Public propertyDtlsClientVersion
Gets or sets the protocol version to use when in the DTLS client role. Defaults to Dtls10.
Public propertyDtlsServerMaxVersion
Gets or sets the maximum protocol version to allow when in the DTLS server role. Defaults to Dtls12.
Public propertyDtlsServerMinVersion
Gets or sets the minimum protocol version to allow when in the DTLS server role. Defaults to Dtls10.
Public propertyDynamicProperties
Gets or sets the dynamic properties on this instance.
(Inherited from Dynamic.)
Public propertyError
Gets or sets the error.
(Inherited from ConnectionBaseTConnection.)
Public propertyIceAddressTypes
Gets or sets the ICE address types.
Public propertyIceGatherPolicy
Gets or sets the ICE gather policy.
(Inherited from ConnectionBaseTConnection.)
Public propertyIcePortRange
Gets or sets the ICE port range.
Public propertyIceRole
Gets the ICE role.
Public propertyIceServer
Gets or sets the ICE server.
(Inherited from ConnectionBaseTConnection.)
Public propertyIceServers
Gets or sets the ICE servers.
(Inherited from ConnectionBaseTConnection.)
Public propertyId
Gets or sets the identifier.
(Inherited from ConnectionBaseTConnection.)
Protected propertyInstance
Gets the current instance.
(Overrides ConnectionBaseTConnectionInstance.)
Protected propertyIsDirty
Gets or sets a value indicating whether this instance is dirty.
(Inherited from Serializable.)
Public propertyKeepAliveInterval
Gets or sets a value indicating how many milliseconds must elapse between STUN keep-alive binding requests. Defaults to 1000.
Public propertyLocalDescription
Gets the local description.
(Overrides ConnectionBaseTConnectionLocalDescription.)
Public propertyLocalDtlsCertificate
Gets or sets the local DTLS certificate.
Public propertyLocalDtlsCertificates
Gets or sets the local DTLS certificates.
Public propertyMultiplexPolicy
Gets or sets the multiplex policy.
Public propertyPrivateIPAddress
Gets or sets the private IP address of this device. If set, this will bypass the local network discovery and use this as the sole host candidate.
Public propertyPrivateIPAddresses
Gets or sets the private IP address of this device. If set, this will bypass the local network discovery and use this as the sole host candidate.
Public propertyPublicIPAddress
Gets or sets the public IP address of this device, if the NAT is known to be 1:1 and the IP address is known in advance. This should only be used in controlled server environments as an alternative to using an external STUN server.
Public propertyPublicIPAddresses
Gets or sets the public IP address of this device, if the NAT is known to be 1:1 and the IP address is known in advance. This should only be used in controlled server environments as an alternative to using an external STUN server.
Public propertyRemoteDescription
Gets the remote description.
(Overrides ConnectionBaseTConnectionRemoteDescription.)
Public propertyState
Gets or sets the state of the connection.
(Inherited from ConnectionBaseTConnection.)
Public propertyStreams
Gets the streams.
(Overrides ConnectionBaseTConnectionStreams.)
Public propertyStunBindingRequestLimit
Gets or sets the limit on the the number of Turn Allocate request messages when trying to establish allocation on a Turn server.
Public propertyStunRequestTimeout
Gets or sets the timeout for individual Stun (and Turn) request messages in ms.
Public propertyTcpConnectTimeout
Gets or sets connection timeout for stream sockets in ms.
Public propertyTieBreaker
Gets the tie breaker.
(Inherited from ConnectionBaseTConnection.)
Public propertyTimeout
Gets or sets the amount of time (in milliseconds) to wait for a connection to establish before giving up and closing it. Defaults to 30,000.
(Inherited from ConnectionBaseTConnection.)
Public propertyTrickleIceSupport
Gets or sets Trickle Ice Support Policy. Cf. https://tools.ietf.org/html/draft-ietf-ice-trickle-04
Public propertyTurnAllocateRequestLimit
Gets or sets the limit on the the number of Turn Allocate request messages when trying to establish allocation on a Turn server.
Top
Methods
  NameDescription
Public methodAddIceServer
Adds an ICE server.
(Inherited from ConnectionBaseTConnection.)
Public methodAddRemoteCandidate
Adds the remote candidate.
(Inherited from ConnectionBaseTConnection.)
Public methodAddServers
Adds some ICE servers.
(Inherited from ConnectionBaseTConnection.)
Public methodAddStream
Adds the stream.
(Overrides ConnectionBaseTConnectionAddStream(Stream).)
Public methodAddStreams
Adds the streams.
(Overrides ConnectionBaseTConnectionAddStreams(Stream).)
Public methodClose
Closes this instance.
(Overrides ConnectionBaseTConnectionClose.)
Public methodCreateAnswer
Creates an answer.
(Inherited from ConnectionBaseTConnection.)
Public methodCreateOffer
Creates an offer.
(Inherited from ConnectionBaseTConnection.)
Protected methodDoAddRemoteCandidate
Adds the remote candidate.
(Overrides ConnectionBaseTConnectionDoAddRemoteCandidate(PromiseCandidate, Candidate).)
Protected methodDoCreateAnswer
Creates an answer.
(Overrides ConnectionBaseTConnectionDoCreateAnswer(PromiseSessionDescription).)
Protected methodDoCreateOffer
Creates an offer.
(Overrides ConnectionBaseTConnectionDoCreateOffer(PromiseSessionDescription).)
Protected methodDoSendCachedLocalCandidates
Dispatches cached local candidates that were gathered while Connection generated session description.
(Overrides ConnectionBaseTConnectionDoSendCachedLocalCandidates.)
Protected methodDoSetLocalDescription
Sets the local description.
(Overrides ConnectionBaseTConnectionDoSetLocalDescription(PromiseSessionDescription, SessionDescription).)
Protected methodDoSetRemoteDescription
Sets the remote description.
(Overrides ConnectionBaseTConnectionDoSetRemoteDescription(PromiseSessionDescription, SessionDescription).)
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 the default hash function.
(Inherited from Object.)
Public methodGetStreamByTypeTStream
Gets the type of the stream by.
Public methodGetStreamsByTypeTStream
Gets the type of the streams by.
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 methodProcessDescription
Processes a session description.
(Inherited from ConnectionBaseTConnection.)
Protected methodProcessSdpMediaDescription
Processes a media description.
(Overrides ConnectionBaseTConnectionProcessSdpMediaDescription(Stream, MediaDescription, Int32, Boolean).)
Protected methodRaiseLocalCandidate
Raises a local candidate but only if it has not been already raised.
(Inherited from ConnectionBaseTConnection.)
Public methodRemoveIceServer
Removes an ICE server.
(Inherited from ConnectionBaseTConnection.)
Public methodRemoveServers
Removes some ICE servers.
(Inherited from ConnectionBaseTConnection.)
Public methodRemoveStream
Removes the stream.
(Overrides ConnectionBaseTConnectionRemoveStream(Stream).)
Public methodRemoveStreams
Removes the streams.
(Overrides ConnectionBaseTConnectionRemoveStreams(Stream).)
Public methodSetDynamicValue
Sets a property value in the local cache.
(Inherited from Dynamic.)
Public methodSetLocalDescription
Sets the local description.
(Inherited from ConnectionBaseTConnection.)
Public methodSetRemoteDescription
Sets the remote description.
(Inherited from ConnectionBaseTConnection.)
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
Events
Fields
See Also