CIAO::MonitorCB Class Reference

Updates data back to the TM. More...

#include <MonitorCB.h>

Collaboration diagram for CIAO::MonitorCB:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MonitorCB (CORBA::ORB_ptr orb, Deployment::TargetManager_ptr target, int interval)
int update_data (::Deployment::Domain &data)

Private Attributes

CORBA::ORB_ptr orb_
::Deployment::TargetManager_ptr target_mgr_
int interval_
 The interval after which updates need to be send.


Detailed Description

Updates data back to the TM.

Constructor & Destructor Documentation

CIAO::MonitorCB::MonitorCB ( CORBA::ORB_ptr  orb,
Deployment::TargetManager_ptr  target,
int  interval 
)

Parameters:
orb The ORB pointer
target The TargetManager reference
interval The time interval to sent update


Member Function Documentation

int CIAO::MonitorCB::update_data ( ::Deployment::Domain data  ) 

This function is called by the monitor to update Domain data, which is then sent to TM.

Parameters:
data Contains the updated Domain data
Returns:
int indicates success.
Todo:
Check return value, seems not used at this moment


Member Data Documentation

CORBA::ORB_ptr CIAO::MonitorCB::orb_ [private]

The ORB pointer

Todo:
Make this a _var

::Deployment::TargetManager_ptr CIAO::MonitorCB::target_mgr_ [private]

The Target Manager pointer to send back the update

Todo:
Make this a _var

int CIAO::MonitorCB::interval_ [private]

The interval after which updates need to be send.


The documentation for this class was generated from the following files:
Generated on Thu Feb 21 04:20:48 2008 for DAnCE by  doxygen 1.5.3-6