diff options
Diffstat (limited to 'TAO/orbsvcs/tests/ImplRepo/Impl_Repo.idl')
-rw-r--r-- | TAO/orbsvcs/tests/ImplRepo/Impl_Repo.idl | 133 |
1 files changed, 0 insertions, 133 deletions
diff --git a/TAO/orbsvcs/tests/ImplRepo/Impl_Repo.idl b/TAO/orbsvcs/tests/ImplRepo/Impl_Repo.idl deleted file mode 100644 index 88cb24d07e0..00000000000 --- a/TAO/orbsvcs/tests/ImplRepo/Impl_Repo.idl +++ /dev/null @@ -1,133 +0,0 @@ -// $Id$ - -#include "simple_object.idl" - -interface Ping_Object -{ - oneway void ping (); - // Used for checking for liveness of a server. When the server receives - // this, it should send back a response indicating it is sill alive. - // Depending on the policy specified, a timeout can be reached where the - // Implementation Repository will restart the server. -}; - -interface Implementation_Repository - // = TITLE - // Interface for communicating with the Implementation Repository - // - // = DESCRIPTION - // This interface exports all the administration functionality of - // the Implementation Repository. -{ - exception Already_Registered {}; - // Object already bound in the Implementation Repository - - exception Cannot_Activate - { - string reason_; - }; - - exception Not_Found {}; - // Object not found in the Implementation Repository - - struct Environment_Variable - { - string name_; - string value_; - }; - // One environment variable - - struct INET_Addr - { - unsigned short port_; - unsigned long host_; - }; - // The location of a server - - typedef sequence<Environment_Variable> Environment; - // Complete environment - - typedef sequence<string> Command_Line_Options; - // Command line options - - struct Process_Options - { - string executable_name_; - // Executable name - Command_Line_Options command_line_options_; - // Command line options - Environment environment_; - // Environment - string working_directory_; - // Working directory - unsigned long creation_flags_; - // Creation flags - }; - -// Object activate_object (in Object obj) -// raises (Not_Found, -// Cannot_Activate); - // Restart server that will contain this persistent object and return the - // new Object reference. - // - // The <Not_Found> exception is raised when <obj> is not found - // in the Implementation Repository. The <Cannot_Activate> exception - // is raised when <obj> is found in the Repository but could not be - // activated. - -// INET_Addr activate_server (in string server) -// raises (Not_Found, -// Cannot_Activate); - // Restart server that is named <server> and return the host/port - // - // The <Not_Found> exception is raised when <server> is not found - // in the Implementation Repository. The <Cannot_Activate> exception - // is raised when <server> is found in the Repository but could not be - // activated. - - - //void register_server (in string server, - // in Process_Options options) - // raises (Already_Registered); - // Restart server process when client is looking for <server>. - // - // The <Already_Registered> exception is raised when <server> has - // already been registered with the Implementation Repository. - // - // The <Object_Not_Persistent> exception is raised when <server> is - // not a Persistent Object Reference. - -// void reregister_server (in string server, -// in Process_Options options) -// raises (Already_Registered); - // Restart server process when client is looking for <server>. - // - // The <Already_Registered> exception is raised when <server> has - // already been registered with the Implementation Repository. - // - // The <Object_Not_Persistent> exception is raised when <server> is - // not a Persistent Object Reference. - - -// void remove_server (in string server) -// raises (Not_Found); - // Remove <server> from the Implementation Repository. - // - // The <Not_Found> exception is raised when <server> is not found - // in the Implementation Repository. - -// Profile server_is_running (in string server, -// void server_is_running (in string server, -// in INET_Addr addr, -// in Ping_Object ping); - void server_is_running (in string server, - inout Object obj, - in INET_Addr addr); - - // Used to notify the Implementation Repository that <server> is alive and - // well at <addr>. - -// void server_is_shutting_down (in string server); - // Used to tell the Implementation Repository that <server> is shutting - // down. -}; |