berconpy.ConnectorConfig¶
- class berconpy.ConnectorConfig(run_interval=1.0, keep_alive_interval=30.0, initial_connect_attempts=3, connection_timeout=3.0)¶
Bases:
objectSpecifies the configuration used for the
AsyncClientConnector.Attributes
The amount of time in seconds to wait after a login attempt before retrying.
The number of attempts that should be done when the RCON client is first connecting.
The amount of time in seconds should the connection wait from the last command before sending another command to keep the connection alive.
The amount of time in seconds to wait between each run loop iteration (which handles re-connecting and sending keep alive packets).
-
connection_timeout:
float= 3.0¶ The amount of time in seconds to wait after a login attempt before retrying.
-
initial_connect_attempts:
int= 3¶ The number of attempts that should be done when the RCON client is first connecting.
After a successful connection, this value is ignored and the connector will indefinitely attempt to reconnect unless authentication is denied.
-
connection_timeout: