| SUMMARY: CONSTR | METHOD | DETAIL: CONSTR | METHOD |
Licensed under the Academic Free License version 2.1, as specified in the License.txt file included in this software package, or at OpenSource.org.
Unless otherwise noted, $self
is the object instance variable.
| Constructor Summary |
|---|
new($id, $tac)
Creates a container for an object's ID and TAC |
| Method Summary |
|---|
can($method)
Overload UNIVERSAL::can() to test the available methods of the proxied object |
curse()
Overrides TQQ curse() to return the contained TAC |
debug($level)
Set debug level |
get_queue()
Return the TQD for the proxied object |
get_timeout()
Return current TQD timeout |
isa($class)
Overload UNIVERSAL::isa() to test the class hierarchy of the proxied object |
join()
Wait for the proxied object's apartment thread to exit |
onEnqueue()
Overrides TQQ onEnqueue() to curse() the contained TAC |
run()
Invoke thread governor for installed MuxServer objects |
set_timeout($timeout)
Set TQD timeout |
stop()
Stop the proxied object's apartment thread |
| Constructor Details |
|---|
new($id, $tac)
$id - ID of proxied object
$tac - TAC of proxied object
| Method Details |
|---|
can($method)
$method - method to check if implemented by the proxied object
curse()
debug($level)
$level - debug level. zero or undef turns off debugging; all other values enable debugging
get_queue()
get_timeout()
isa($class)
$class - class to check if implemented by the proxied object
join()
onEnqueue()
run()
set_timeout($timeout)
$timeout - max. number of seconds to wait for TQD responses.
stop()
Note that this is only useful after an object has been installed, but before its run() method has been called.