summaryrefslogtreecommitdiff
path: root/orbsvcs/Time_Service/Server_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'orbsvcs/Time_Service/Server_i.h')
-rw-r--r--orbsvcs/Time_Service/Server_i.h71
1 files changed, 35 insertions, 36 deletions
diff --git a/orbsvcs/Time_Service/Server_i.h b/orbsvcs/Time_Service/Server_i.h
index 2727cc51ec8..c7c62376c74 100644
--- a/orbsvcs/Time_Service/Server_i.h
+++ b/orbsvcs/Time_Service/Server_i.h
@@ -1,18 +1,15 @@
// -*- C++ -*-
-// $Id$
-
-// ============================================================================
-//
-// = LIBRARY
-// TAO/orbsvcs/Time_Service
-//
-// = FILENAME
-// Server_i.h
-//
-// = AUTHOR
-// Vishal Kachroo <vishal@cs.wustl.edu>
-//
-// ============================================================================
+
+//=============================================================================
+/**
+ * @file Server_i.h
+ *
+ * $Id$
+ *
+ * @author Vishal Kachroo <vishal@cs.wustl.edu>
+ */
+//=============================================================================
+
#ifndef SERVER_I_H
#define SERVER_I_H
@@ -24,65 +21,67 @@
#include "orbsvcs/Naming/Naming_Client.h"
#include "orbsvcs/Time/TAO_Time_Service_Server.h"
+/**
+ * @class Server_i
+ *
+ * @brief CORBA Server implementation.
+ *
+ * A CORBA server that initializes the <TimeService Server>
+ * servant implementation and the ORB.
+ */
class Server_i
{
- // = TITLE
- // CORBA Server implementation.
- //
- // = DESCRIPTION
- // A CORBA server that initializes the <TimeService Server>
- // servant implementation and the ORB.
public:
// = Initialization and termination methods.
+ /// Constructor.
Server_i (void);
- // Constructor.
+ /// Destructor.
~Server_i (void);
- // Destructor.
+ /// Initialize the Server state.
int init (int argc,
ACE_TCHAR *argv[]);
- // Initialize the Server state.
+ /// Run the orb.
int run (void);
- // Run the orb.
+ /// Initialises the name client.
int init_naming_service ();
- // Initialises the name client.
+ /// Create the time server object.
int create_server (void);
- // Create the time server object.
+ /// Register the time server object with the Naming Service.
int register_server (void);
- // Register the time server object with the Naming Service.
+ /// Parse the commandline arguments.
int parse_args (int argc,
ACE_TCHAR* argv[]);
- // Parse the commandline arguments.
private:
+ /// My orb.
CORBA::ORB_var orb_;
- // My orb.
+ /// The ORB manager.
TAO_ORB_Manager orb_manager_;
- // The ORB manager.
+ /// File where the IOR of the Clerk object is stored.
FILE *ior_output_file_;
- // File where the IOR of the Clerk object is stored.
+ /// An instance of the name server used for registering the
+ /// <TimeService Server> object.
TAO_Naming_Client naming_client_;
- // An instance of the name server used for registering the
- // <TimeService Server> object.
+ /// Implementation of the <TimeService> Server object.
TAO_Time_Service_Server *time_service_server_impl_;
- // Implementation of the <TimeService> Server object.
+ /// Reference of the time server.
CosTime::TimeService_var time_service_server_;
- // Reference of the time server.
+ /// Naming context for the Naming Service.
CosNaming::NamingContext_var time_service_server_context_;
- // Naming context for the Naming Service.
};
#endif /* SERVER_I_H */