Click or drag to resize
ConnectionPolicy Class
Defines the server connection policy used by an Identity.
Inheritance Hierarchy
SystemObject
  Avaya.ClientServicesConnectionPolicy

Namespace: Avaya.ClientServices
Assembly: AvayaClientServices (in AvayaClientServices.dll) Version: 493.0.70.0
Syntax
C#
public class ConnectionPolicy

The ConnectionPolicy type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyInitialReconnectInterval
The initial time interval between a connection failure and a reconnect attempt, in seconds. Set to zero to disable automatic reconnection attempts. The default is 2 seconds.
Public propertyKeepAliveCount
The number of unanswered TCP (transport-level) keep-alives after which the connection is considered lost.
Public propertyKeepAliveInterval
The TCP (transport level) keep-alive interval, in seconds. Set to zero to disable TCP keep-alives.
Public propertyLocalUdpPortMax
Property to set Maximum value of the local UDP Port in UDP port Range.
Public propertyLocalUdpPortMin
Property to set Minimum value of the local UDP Port in UDP port Range.
Public propertyMaxReconnectInterval
The maximum time interval between a connection failure and a reconnect attempt, in seconds. The default is 1800 seconds.
Public propertyPingInterval
The time interval at which a ping is sent to a server to verify that it is responsive, in seconds. Set to zero to disabling server pings.
Public propertyPingTimeout
The amount of time to wait for a response to a server ping, in seconds. Set to zero to disable validation of server pings.
Public propertySignalingEnvironment
Information about the strategy to be used for establishing and re-establishing connections after a failure.
Public propertySignalingServerGroup
The signaling server group used by this connection policy.
Top
Methods
  NameDescription
Public methodEquals (Overrides ObjectEquals(Object).)
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Top
Remarks
A connection policy is set during identity creation and determines what servers an identity will register with and how it should interact with them in failover scenarios. The SignalingEnvironment controls how connections to SignalingServers are established and recovered after failures. Note that when Alternate is in use, the encapsulated RegistrationGroup objects must be limited to a single SignalingServer per group, and those SignalingServer objects must use the Automatic FailbackPolicy.
See Also