5.3.5.1. FailoverChainer methods

MethodDescription
__init__(self, protocol, timeout_state, timeout_connect) Constructor to initialize a FailoverChainer instance.

Table 5.21. Method summary

Method __init__(self, protocol, timeout_state, timeout_connect)

This constructor initializes a FailoverChainer class by filling arguments with appropriate values and calling the inherited constructor.

Arguments of __init__
protocol (enum)
Default: VD_PROTO_AUTO
Optional, specifies connection protocol ( VD_PROTO_TCP or VD_PROTO_UDP ), when not specified it defaults to the protocol used on the client side.

timeout_connect (integer)
Default: 30000
Specifies connection timeout to be used when connecting to the target server.

timeout_state (integer)
Default: 60000
The down state of remote hosts is kept for this interval in milliseconds.