home OpenMash Documentations
Class Index Method Index Class Hierarchy

TCL CLASS

IMgrASCP/RunOnce

Encapsulation of ASCP protocol that run a service process whose service is required only once. (such as light switch).

SUPERCLASSES

IMgrASCP

METHODS

init

init

IMgrASCP/RunOnce instproc init { mgr location precond argv }

Create an ASCP object. By default, ASCP restarts services when service expires. Since we do not need to run the service continuously, we simply unregister the service when service expires.

INHERITED METHODS

args, service_type, from, to, destroy, agent_type, service_location, request, alive, on_service_expire, on_destroy, on_timeout, on_alive, on_event, timeout, relaunch, launch_now, launch, precondition, process_packet, service_expire, service_instance, served_by, version, send_announcement, bye, agent_id, ssg_port, recv_announcement, del_agent, error, bandwidth, as_args, register, unregister, control_port, add_timer, del_timer, timers, start, stop, announce, recv, timer, get_timer, set_announcement, get_announcement, ttl

INHERITED MEMBERS

precond_, service_, alive_timer_, sev_loc_, request_timer_, lastann_, avgdelta_

FILENAME

tcl/indiva/imgr/imgr-ascp.tcl

SEE ALSO

IMgrASCP/RunAlways


Generated on Mon Apr 12 04:04:29 PDT 2004