omega_client.examples package

Submodules

omega_client.examples.heartbeat module

omega_client.examples.heartbeat.main()[source]

omega_client.examples.logon_logoff module

omega_client.examples.logon_logoff.main()[source]

omega_client.examples.place_order module

omega_client.examples.place_order.main()[source]

omega_client.examples.single_client_session_refresher module

class omega_client.examples.single_client_session_refresher.SingleClientSessionRefresher(request_sender: omega_client.communication.omega_connection.OmegaConnection, client_id: int, sender_comp_id: str)[source]

Bases: threading.Thread

is_running()[source]

Return True if the thread is running, False otherwise.

run()[source]

Threaded implementation of automatic session refresh main loop for a single client.

stop()[source]

Clear the _is_running Event, which terminates the refresh loop.

update_token(auth_grant: omega_client.messaging.common_types.AuthorizationGrant)[source]

Module contents