FallbackOnFlapping
extends Message
in package
Generated from protobuf message <code>plugnmeet.FallbackOnFlapping</code>
Table of Contents
Properties
- $check_duration_in_sec : mixed
- duration in seconds to check for poor connections
- $enabled : mixed
- Generated from protobuf field <code>bool enabled = 1;</code>
- $max_poor_conn_count : mixed
- max number of times connection can be poor
Methods
- __construct() : mixed
- Constructor.
- getCheckDurationInSec() : int
- duration in seconds to check for poor connections
- getEnabled() : bool
- Generated from protobuf field <code>bool enabled = 1;</code>
- getMaxPoorConnCount() : int
- max number of times connection can be poor
- setCheckDurationInSec() : $this
- duration in seconds to check for poor connections
- setEnabled() : $this
- Generated from protobuf field <code>bool enabled = 1;</code>
- setMaxPoorConnCount() : $this
- max number of times connection can be poor
Properties
$check_duration_in_sec
duration in seconds to check for poor connections
protected
mixed
$check_duration_in_sec
= 0
Generated from protobuf field int32 check_duration_in_sec = 3;
$enabled
Generated from protobuf field <code>bool enabled = 1;</code>
protected
mixed
$enabled
= false
$max_poor_conn_count
max number of times connection can be poor
protected
mixed
$max_poor_conn_count
= 0
Generated from protobuf field int32 max_poor_conn_count = 2;
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
- $data : array<string|int, mixed> = null
-
{ Optional. Data for populating the Message object.
@type bool $enabled @type int $max_poor_conn_count max number of times connection can be poor @type int $check_duration_in_sec duration in seconds to check for poor connections}
getCheckDurationInSec()
duration in seconds to check for poor connections
public
getCheckDurationInSec() : int
Generated from protobuf field int32 check_duration_in_sec = 3;
Return values
intgetEnabled()
Generated from protobuf field <code>bool enabled = 1;</code>
public
getEnabled() : bool
Return values
boolgetMaxPoorConnCount()
max number of times connection can be poor
public
getMaxPoorConnCount() : int
Generated from protobuf field int32 max_poor_conn_count = 2;
Return values
intsetCheckDurationInSec()
duration in seconds to check for poor connections
public
setCheckDurationInSec(int $var) : $this
Generated from protobuf field int32 check_duration_in_sec = 3;
Parameters
- $var : int
Return values
$thissetEnabled()
Generated from protobuf field <code>bool enabled = 1;</code>
public
setEnabled(bool $var) : $this
Parameters
- $var : bool
Return values
$thissetMaxPoorConnCount()
max number of times connection can be poor
public
setMaxPoorConnCount(int $var) : $this
Generated from protobuf field int32 max_poor_conn_count = 2;
Parameters
- $var : int