caspia.gateway_mock package

Submodules

caspia.gateway_mock.cli module

caspia.gateway_mock.gateway module

class caspia.gateway_mock.gateway.CaspiaGateway(*, name, connection, config_path, storage_path)[source]

Bases: caspia.meadow.client.gateway.Gateway

add(services: Iterable[Union[GatewayServiceMixin, caspia.meadow.services.ServiceBase]], update_immediately=False)

Register service(s) for the gateway.

property busy
property connection
load_services()[source]
async on_gateway_registered()
async prepare()
remove(services: Iterable[Union[GatewayServiceMixin, caspia.meadow.services.ServiceBase]], update_immediately=False)

Remove service(s) from the gateway.

property services

All registered services for the gateway.

Module contents