Class a.c.CallHandleBase:

Part of aculab.callcontrol View Source View In Hierarchy

Known subclasses: aculab.callcontrol.CallHandle, aculab.sip.SIPHandle

Base class for Call Handles.

Holds the controller stack and common attributes.

The controller stack allows to pass calls from one controller (application) to another.

For example, one controller could be responsible for looking at all incoming calls. When it gets a call, it decides which application should receive the call, and the applications can install different controllers for their needs.

This is not normally needed.
Method __init__ Initialise the controller stack and common attributes.
Method push_controller Push a new controller onto the controller stack.
Method pop_controller Pop a controller from the stack.
def __init__(self, controller, user_data=None, port=0, reactor=Reactor): (source)
Initialise the controller stack and common attributes.
def push_controller(self, controller): (source)

Push a new controller onto the controller stack.

The new controller will receive all events from now on.
def pop_controller(self): (source)

Pop a controller from the stack.

The previously active controller will receive all events from now on.
API Documentation for pyAculab, generated by pydoctor at 2009-01-02 15:12:29.