Class a.s.Connection:

Part of aculab.switching View Source View In Hierarchy

A connection between two resources.

A connection consists of endpoints and timeslots.

This class takes care of closing the contained endpoints and bus timeslots in the proper order upon destruction.
Method __init__ If bus is None, the default bus is used.
Method add Undocumented
Method close Close the connection and free all resources.
Method __del__ Undocumented
def __init__(self, bus=DefaultBus(), endpoints=None, timeslots=None): (source)
If bus is None, the default bus is used.
def add(self, endpoint, timeslot=None): (source)
Undocumented
def close(self): (source)

Close the connection and free all resources.

Closes the contained endpoints and frees the timeslots. Endpoints are closed in reversed order to avoid clicks.
def __del__(self): (source)
Undocumented
API Documentation for pyAculab, generated by pydoctor at 2009-01-02 15:12:29.