ddd.adapters.adapter
API
- class ddd.adapters.adapter.Adapter(loop, log_service)
The adapters base class.
- Parameters
config – The
Config
object.loop – The event loop.
log_service – The
LogService
object.
- abstract async start()
Starts the adapter.
This method is called by the
ApplicationService
. When it starts, it starts all the adapters.
- abstract async stop()
Stops the adapter.
This method is called by the
ApplicationService
. When it stops, it stops all the adapters.