minos.common.ports

Classes

Port

Port base class.

class Port[source]

Bases: Service, ABC

Port base class.

async start()[source]

Start the port execution.

Returns

This method does not return anything.

Return type

None

async stop(err=None)[source]

Stop the port execution.

Parameters

err (Optional[Exception]) – Optional exception that stopped the execution.

Returns

This method does not return anything.

Return type

None

__init__(**kwargs)
Parameters

kwargs (Any) –

property context: aiomisc.context.Context
set_loop(loop)
Parameters

loop (AbstractEventLoop) –

Return type

None

property start_event: asyncio.locks.Event