summaryrefslogtreecommitdiff
path: root/TAO/examples/POA/On_Demand_Loading/Server_Manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/POA/On_Demand_Loading/Server_Manager.h')
-rw-r--r--TAO/examples/POA/On_Demand_Loading/Server_Manager.h21
1 files changed, 9 insertions, 12 deletions
diff --git a/TAO/examples/POA/On_Demand_Loading/Server_Manager.h b/TAO/examples/POA/On_Demand_Loading/Server_Manager.h
index f5c24dd0dfb..ef40eee7f11 100644
--- a/TAO/examples/POA/On_Demand_Loading/Server_Manager.h
+++ b/TAO/examples/POA/On_Demand_Loading/Server_Manager.h
@@ -46,24 +46,24 @@ public:
int init (int argc, char **argv);
// Initialisation of the ORB and poa.
-
- PortableServer::POA_ptr create_poa (const char* name,
+
+ PortableServer::POA_ptr create_poa (const char* name,
int servant_retention_policy);
// This method creates a POA from the root_poa with emphasis being
// on the servant_retention_policy which decides the use of the
// ServantActivator or ServantLocator interfaces. The
// servent_retention_policy value is 1 for the RETAIN policy and 0
// for the NONRETAIN policy.
-
+
int create_activator (PortableServer::POA_var first_poa);
// A ServantActivator object is created and initialised.
int create_locator (PortableServer::POA_var second_poa);
// A ServantActivator object is created and initialised.
-
+
int run (void);
// The server is executed.
-
+
private:
int parse_args (int argc, char **argv);
// Parses the input arguments.
@@ -71,14 +71,14 @@ private:
int write_iors_to_file (const char *first_ior,
const char *second_ior);
// The IORs are written to a file for future use.
-
+
char *ior_output_file_;
// Default ior file.
-
+
CORBA::ORB_var orb_;
// The orb pointer.
- CORBA::PolicyList policies_;
+ CORBA::PolicyList policies_;
// The poa policicies.
PortableServer::POA_var root_poa_;
@@ -92,7 +92,7 @@ private:
CORBA::Object_var second_foo_;
// The object pointer used by the Servant Locator.
-
+
ServantActivator_i *servant_activator_impl_;
// The servant activator object.
@@ -101,6 +101,3 @@ private:
};
#endif /* SERVER_MANAGER_H */
-
-
-