From 7d4e6657a4205b1993760e5835582a8871408bd8 Mon Sep 17 00:00:00 2001 From: harrisb Date: Tue, 19 Feb 2013 21:48:51 +0000 Subject: Tue Feb 19 21:34:33 UTC 2013 Byron Harris --- TAO/tao/ImR_Client/ImplRepo.pidl | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'TAO/tao/ImR_Client') 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 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); -- cgit v1.2.1