minos.networks.scheduling.ports
Classes
Periodic Port class. |
|
Periodic Task Scheduler Service class. |
- class PeriodicPort[source]
Bases:
Port
Periodic Port class.
- scheduler
Get the service scheduler.
- Returns
A
PeriodicTaskScheduler
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 PeriodicTaskSchedulerService[source]
Bases:
PeriodicPort
Periodic Task Scheduler Service class.
- property context: aiomisc.context.Context
- scheduler
Get the service scheduler.
- Returns
A
PeriodicTaskScheduler
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