summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/LWFT/StateSynchronizationAgent.idl
blob: 76a2e61040ad43eb66d342cd3619eebb9058a4b7 (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 _STATE_SYNCHRONIZATION_AGENT_IDL_
#define _STATE_SYNCHRONIZATION_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 object_id,
			                       in ReplicatedApplication app);
};

#endif /* _STATE_SYNCHRONIZATION_AGENT_IDL_ */