summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/LWFT/HostMonitor.idl
blob: 73778c715dc569c5d41c22bde320b09bd68718e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// -*- IDL -*-
// $Id$

#ifndef HOSTMONITOR_IDL
#define HOSTMONITOR_IDL

interface HostMonitor
{
  boolean register_process (in string process_id,
                            in string hostname,
                            in long port);
  boolean unregister_process (in string process_id);

  // returns a different port number every time on which the
  // client shall then listen for heartbeats. This will be passed
  // in by the client in the register_process call.
  short heartbeat_port ();

  void dump ();
};

#endif // HOSTMONITOR_IDL