Avaya Client Services API Reference (Windows)
Avaya Client Services API Reference (Windows)
Avaya.ClientServices
ConnectionPolicy Class
ConnectionPolicy Constructor
ConnectionPolicy Properties
ConnectionPolicy Methods

# ConnectionPolicy Class

Defines the server connection policy used by an Identity.
Inheritance Hierarchy
System
Object
Avaya.ClientServices
ConnectionPolicy

Namespace: Avaya.ClientServices
Assembly: AvayaClientServices (in AvayaClientServices.dll) Version: 550.0.60.0
Syntax
C#
Copy

    public class ConnectionPolicy

The ConnectionPolicy type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| ConnectionPolicy(SignalingServer) |
| ConnectionPolicy(SignalingServerGroup) |
| ConnectionPolicy(SignalingServer, SignalingEnvironment) |
| ConnectionPolicy(SignalingServerGroup, SignalingEnvironment) |

Top
Properties

| Name | Description
--- | --- | ---
| InitialReconnectInterval | 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.
| KeepAliveCount | The number of unanswered TCP (transport-level) keep-alives after which the connection is considered lost.
| KeepAliveInterval | The TCP (transport level) keep-alive interval, in seconds. Set to zero to disable TCP keep-alives.
| LocalUdpPortMax | Property to set Maximum value of the local UDP Port in UDP port Range.
| LocalUdpPortMin | Property to set Minimum value of the local UDP Port in UDP port Range.
| MaintenanceTestTimeout | The maintenance test timeout value.
| MaxReconnectInterval | The maximum time interval between a connection failure and a reconnect attempt, in seconds. The default is 1800 seconds.
| PingInterval | 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.
| PingTimeout | The amount of time to wait for a response to a server ping, in seconds. Set to zero to disable validation of server pings.
| SignalingEnvironment | Information about the strategy to be used for establishing and re-establishing connections after a failure.
| SignalingServerGroup | The signaling server group used by this connection policy.

Top
Methods

| Name | Description
--- | --- | ---
| Equals | (Overrides Object Equals(Object).)
| GetHashCode | (Overrides Object GetHashCode .)

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

#### Reference

Avaya.ClientServices Namespace

© 2017 Avaya LLC. All Rights Reserved.