diff options
Diffstat (limited to 'trunk/TAO/examples/ior_corbaloc/status_i.cpp')
-rw-r--r-- | trunk/TAO/examples/ior_corbaloc/status_i.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/trunk/TAO/examples/ior_corbaloc/status_i.cpp b/trunk/TAO/examples/ior_corbaloc/status_i.cpp new file mode 100644 index 00000000000..e519ac04eb9 --- /dev/null +++ b/trunk/TAO/examples/ior_corbaloc/status_i.cpp @@ -0,0 +1,21 @@ +// $Id$ + +#include "status_i.h" + +corbaloc_Status_i::corbaloc_Status_i () + : server_name_() +{ + // Constructor +} + +CORBA::Boolean +corbaloc_Status_i::print_status (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + // If the server received the request from the client, return true + // == 0; + ACE_DEBUG ((LM_DEBUG, + "Invoking print_status() method for servant with name: %s\nregistered in Naming Service\n", + server_name_.c_str ())); + return 0; +} |