Class a.s.CTBus(object):

Part of aculab.switching View Source View In Hierarchy

Known subclasses: aculab.switching.H100, aculab.switching.MVIP, aculab.switching.ProsodyTimeslots, aculab.switching.SCBus

Base class for an isochronous, multiplexed bus. An instance represents a collection of available timeslots.
Method allocate Allocate a timeslot.
Method free Free a timeslot
Method listen_to sink and source are tuples of (stream, timeslots).
def allocate(self, ts_type=None): (source)
Allocate a timeslot.
def free(self, slot): (source)
Free a timeslot
def listen_to(self, switch, sink, source): (source)
sink and source are tuples of (stream, timeslots). returns a CTBusEndpoint. Do not discard the return value - it will disconnect the endpoint when it is garbage collected.
API Documentation for pyAculab, generated by pydoctor at 2009-01-02 15:12:29.