summaryrefslogtreecommitdiff
path: root/CIAO/ciao/FTComponentServer/CommonIDL/StateSynchronizationAgent.idl
blob: a4572c287d2c18a4559bfede3f6dad3afc746219 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// -*- IDL -*-

//=============================================================================
/**
 *  @file    StateSynchronizationAgent.idl
 *
 *  $Id$
 *
 *  @author  Friedhelm Wolf (fwolf@dre.vanderbilt.edu)
 */
//=============================================================================

#ifndef _REPLICATION_AGENT_IDL_
#define _REPLICATION_AGENT_IDL_

#include "ReplicatedApplication.idl"
#include "LWFTDataStructures.idl"

interface StateSynchronizationAgent 
{
  /// triggers an serial update of the state information 
  /// to all registered replicas
  void state_changed (in string object_id);

  /// used by the ReplicationManager to update information about
  /// active replicas
  void update_rank_list (in RankList replicas);

  /// informs the replication manager about applications for which
  /// it is responsible for replication
  void register_application (in string objec_id,
			     in ReplicatedApplication app);
};

#endif /* _REPLICATION_AGENT_IDL_ */