Scopira 20080306

scopira::agent Namespace Reference

Classes

class  uuid_query
class  agenterror_reactor_i
class  taskmsg_reactor_i
class  agent_i
class  node_spec
class  cluster_agent
class  service_broadcast
class  send_msg
class  recv_msg
class  task_context
class  machine_spec
class  local_agent
class  agent_loop
class  monitor_service
class  register_service
class  service_registrar
class  agent_task_i
class  timeslice
class  global_timeslice
class  subtimeslice
class  simple_timeslice
class  uptime_service

Functions

void run_task (scopira::agent::task_context &ctx, scopira::agent::agent_task_i &t)

Variables

scopira::tool::uuid where_master_c
 a where specification to place the task at the master's agent
scopira::tool::uuid where_this_c
 a where specification to place the task at the same agent as the launcher (like "localhost")
scopira::tool::uuid agent_service_c
 the "service" type for agents themselves
scopira::tool::uuid worker_agent_service_c
 the "service" type for agents themselves (but only the job accepting agents)

Detailed Description

This namespace houses the API and implementations of Scopira Agents.

Author:
Aleksander Demko

Function Documentation

void scopira::agent::run_task ( scopira::agent::task_context ctx,
scopira::agent::agent_task_i t 
)

This function will run the given task by calling it's run() method. it will properly analysis its return codes and possible call the run method repeadedly until the task is fininished or killed.

Author:
Aleksander Demko