summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/LWFT/HostMonitor.idl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/LWFT/HostMonitor.idl')
-rw-r--r--TAO/orbsvcs/orbsvcs/LWFT/HostMonitor.idl23
1 files changed, 23 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/LWFT/HostMonitor.idl b/TAO/orbsvcs/orbsvcs/LWFT/HostMonitor.idl
new file mode 100644
index 00000000000..73778c715dc
--- /dev/null
+++ b/TAO/orbsvcs/orbsvcs/LWFT/HostMonitor.idl
@@ -0,0 +1,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
+