summaryrefslogtreecommitdiff
path: root/TAO/tao/ImR_Client
diff options
context:
space:
mode:
authorharrisb <harrisb@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2013-02-19 21:48:51 +0000
committerharrisb <harrisb@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2013-02-19 21:48:51 +0000
commit7d4e6657a4205b1993760e5835582a8871408bd8 (patch)
tree2f10f3800f3e45ee0af6dafe2a1e063b0e1b3a16 /TAO/tao/ImR_Client
parentc7f776487bda5f015e4cd6d76620830650d74811 (diff)
downloadATCD-7d4e6657a4205b1993760e5835582a8871408bd8.tar.gz
Tue Feb 19 21:34:33 UTC 2013 Byron Harris <harrisb@ociweb.com>
Diffstat (limited to 'TAO/tao/ImR_Client')
-rw-r--r--TAO/tao/ImR_Client/ImplRepo.pidl19
1 files changed, 19 insertions, 0 deletions
diff --git a/TAO/tao/ImR_Client/ImplRepo.pidl b/TAO/tao/ImR_Client/ImplRepo.pidl
index d713d44bbca..1679ed50b21 100644
--- a/TAO/tao/ImR_Client/ImplRepo.pidl
+++ b/TAO/tao/ImR_Client/ImplRepo.pidl
@@ -62,6 +62,19 @@ module ImplementationRepository
long start_limit;
};
+ /// Status of server
+ enum ServerActiveStatus
+ {
+ /// No attempt as been made to determine status.
+ ACTIVE_MAYBE,
+
+ /// Server has been succesfully pinged within ping interval.
+ ACTIVE_YES,
+
+ /// Server was not able to be pinged within ping interval.
+ ACTIVE_NO
+ };
+
struct ServerInformation
{
/// Server name.
@@ -73,6 +86,8 @@ module ImplementationRepository
/// This is used in places that require a partial IOR with
/// just the ObjectKey missing.
string partial_ior;
+
+ ServerActiveStatus activeStatus;
};
typedef sequence <ServerInformation> ServerInformationList;
@@ -159,7 +174,11 @@ module ImplementationRepository
/// @a server_iterator. If there are no more servers, then
/// @a server_iterator is null.
/// If @a how_many == 0, then returns all servers.
+ /// If @a determine_active_status is true then
+ /// set ServerInformation::active_status attribute by determining
+ /// if the server is alive.
void list (in unsigned long how_many,
+ in boolean determine_active_status,
out ServerInformationList server_list,
out ServerInformationIterator server_iterator);