Class a.s.Glue(object):

Part of aculab.speech View Source View In Hierarchy

Glue logic to tie a SpeechChannel to a Call.

This class is used to model the per-call data of a call leg that has a Prosody channel for speech processing.

When created, a Glue object will allocate a SpeechChannel and connect it to the call.

When deleted, it will close and disconnect the SpeechChannel.
Method __init__ Allocate a speech channel on module and connect it to the call.
Method __del__ Undocumented
Method close Disconnect and close the SpeechChannel.
def __init__(self, controller, module, call, auto_connect=True): (source)
Allocate a speech channel on module and connect it to the call.
ParameterscontrollerThe controller will be passed to the SpeechChannel
moduleThe module to open the SpeechChannel on. May be either a tSMModuleId or an offset.
callThe call that the SpeechChannel will be connected to.
auto_connectSet to False if call and speech channel should not be connected automatically.
def __del__(self): (source)
Undocumented
def close(self): (source)

Disconnect and close the SpeechChannel.

If you do not call this method, you may end up with a memory leak of uncollectable cyclic references.
API Documentation for pyAculab, generated by pydoctor at 2009-01-02 15:12:29.