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_from_hash($tac)
Used for objects using hash-based constructor parameter lists |
new_from_list($tac)
Used for objects using list-based constructor parameter lists |
Method Summary |
---|
create_client()
(class method) Creates a TAC for the object or class; a subclass may override this to provide their own TAC implementation |
debug($level)
Set debug level |
evict()
Pure virtual function called when an object is evicted from a thread |
get_client()
Return the object's TAC |
get_no_objects()
(class method) Virtual function to return a hashref of public method names that are do not return objects |
get_simplex_methods()
(class method) Virtual function to return a hashref of public method names that are simplex |
get_urgent_methods()
(class method) Virtual function to return a hashref of public method names that are urgent |
init_tas($tqd, $timeout, $installed)
(class method) Init class/thread-global variables |
install()
(class method) Pure virtual function called when an object is installed in a thread |
introspect($base, $objid, $autoload)
(class method) Introspects a class or object |
marshalResults(@results)
(class method) Marshalls results from method calls |
new_simplex_tacl($closure)
(class method) Create a Thread::Apartment::Closure object to contain a simplex, non-urgent closure, and map it into the apartment thread's closure map |
new_tacl($closure)
(class method) Create a Thread::Apartment::Closure object to contain a duplex, non-urgent closure, and map it into the apartment thread's closure map |
new_urgent_simplex_tacl($closure)
(class method) Create a Thread::Apartment::Closure object to contain a simplex, urgent closure, and map it into the apartment thread's closure map |
new_urgent_tacl($closure)
(class method) Create a Thread::Apartment::Closure object to contain a duplex, urgent closure, and map it into the apartment thread's closure map |
set_client($tac)
Set the local reference to an object's TAC, so it can be passed to other T::A objects |
Constructor Details |
---|
new_from_hash($tac)
$tac
- TAC for the object
new_from_list($tac)
$tac
- TAC for the object
Method Details |
---|
create_client()
debug($level)
$level
- debug level
evict()
get_client()
get_no_objects()
get_simplex_methods()
get_urgent_methods()
init_tas($tqd, $timeout, $installed)
$tqd
- apartment's TQD
$timeout
- response timeout for TQD
$installed
- flag to indicate if the object has been install()'ed, rather
than constructed
install()
introspect($base, $objid, $autoload)
$base
- either a class name, or an object instance
$objid
- unique object ID assigned to the object
$autoload
- (optional) boolean indicating the object is autoload-all; default false
marshalResults(@results)
@results
- list of results to be marshalled
new_simplex_tacl($closure)
$closure
- closure to be contained.
new_tacl($closure)
$closure
- closure to be contained.
new_urgent_simplex_tacl($closure)
$closure
- closure to be contained.
new_urgent_tacl($closure)
$closure
- closure to be contained.
set_client($tac)
$tac
- Thread::Apartment::Client for the object