Connector Module¶
-
class
lcu_driver.connector.BaseConnector(loop=None)¶ Bases:
lcu_driver.events.managers.ConnectorEventManager,abc.ABC-
register_connection(connection: lcu_driver.connection.Connection)¶ Creates a connection and saves a reference to it
-
should_run_ws¶
-
unregister_connection(lcu_pid)¶ Cancel the connection
-
-
class
lcu_driver.connector.Connector(*, loop=None)¶ Bases:
lcu_driver.connector.BaseConnector-
register_connection(connection)¶ Creates a connection and saves a reference to it
-
should_run_ws¶
-
start() → None¶ Starts the connector. This method should be overridden if different behavior is required.
Return type: None
-
stop() → None¶ Flag the connector to don’t look for more clients once the connection finishes his job.
Return type: None
-
unregister_connection(_)¶ Cancel the connection
-