Scopira  20080306
scopira::agent Namespace Reference

Classes

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

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

◆ run_task()

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