minos.networks.brokers.handlers.ports
Classes
Broker Handler Service class. |
|
Broker Port class. |
- class BrokerPort[source]
Bases:
Port
Broker Port class.
- handler
Get the service handler.
- Returns
A
Handler
instance.
- property context: aiomisc.context.Context
- set_loop(loop)
- Parameters
loop (AbstractEventLoop) –
- Return type
None
- async start()
Start the port execution.
- Returns
This method does not return anything.
- Return type
None
- property start_event: asyncio.locks.Event
- class BrokerHandlerService[source]
Bases:
BrokerPort
Broker Handler Service class.
- property context: aiomisc.context.Context
- handler
Get the service handler.
- Returns
A
Handler
instance.
- set_loop(loop)
- Parameters
loop (AbstractEventLoop) –
- Return type
None
- async start()
Start the port execution.
- Returns
This method does not return anything.
- Return type
None
- property start_event: asyncio.locks.Event