runtimepy.net.manager
index
/home/vkottler/src/vkottler/workspace/runtimepy/runtimepy/net/manager.py

A module implementing a connection manager.

 
Modules
       
asyncio

 
Classes
       
vcorelib.logging.LoggerMixin(builtins.object)
ConnectionManager

 
class ConnectionManager(vcorelib.logging.LoggerMixin)
    ConnectionManager() -> 'None'
 
A class for managing connection processing at runtime.
 
 
Method resolution order:
ConnectionManager
vcorelib.logging.LoggerMixin
builtins.object

Methods defined here:
__init__(self) -> 'None'
Initialize this connection manager.
by_type(self, kind: 'type[T]') -> '_Iterator[T]'
Iterate over connections of a specific type.
async manage(self, stop_sig: '_asyncio.Event') -> 'None'
Handle incoming connections until the stop signal is set.
poll_metrics(self, time_ns: 'int' = None) -> 'None'
Poll connection metrics.
reset_metrics(self) -> 'None'
Reset connection metrics.

Readonly properties defined here:
num_connections
Return the number of managed connections.

Data and other attributes defined here:
__annotations__ = {}

Methods inherited from vcorelib.logging.LoggerMixin:
log_time(self, message: str, *args, level: int = 20, reminder: bool = False, **kwargs) -> Iterator[NoneType]
A simple wrapper.

Data descriptors inherited from vcorelib.logging.LoggerMixin:
__dict__
dictionary for instance variables
__weakref__
list of weak references to the object

 
Data
        T = ~T