summaryrefslogtreecommitdiff
path: root/TAO/examples/Persistent_Grid/Simple_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Persistent_Grid/Simple_util.h')
-rw-r--r--TAO/examples/Persistent_Grid/Simple_util.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/TAO/examples/Persistent_Grid/Simple_util.h b/TAO/examples/Persistent_Grid/Simple_util.h
index 24367cc0d0d..d9272e1fe0c 100644
--- a/TAO/examples/Persistent_Grid/Simple_util.h
+++ b/TAO/examples/Persistent_Grid/Simple_util.h
@@ -33,10 +33,10 @@ class Server
{
public:
/// Constructor.
- Server (void);
+ Server ();
/// Destructor.
- ~Server (void);
+ ~Server ();
/// Initialize the Server state - parsing arguments and waiting.
/// interface_name is the name used to register the Servant.
@@ -44,12 +44,12 @@ public:
int argc,
ACE_TCHAR *argv[]);
- // int register_name (void);
+ // int register_name ();
// After calling <init>, this method will register the server with
// the TAO Naming Service using the servant_name passed to <init>.
/// Run the orb.
- int run (void);
+ int run ();
protected:
/// Servant class
@@ -59,7 +59,7 @@ public:
const char *name;
/// Parses the commandline arguments.
- int parse_args (void);
+ int parse_args ();
/// The ORB manager - a helper class for accessing the POA and
/// registering objects.
@@ -95,10 +95,10 @@ class Client
{
public:
/// Constructor.
- Client (void);
+ Client ();
/// Destructor.
- ~Client (void);
+ ~Client ();
/// Initialize the client communication endpoint with server.
int init (const char *name,int argc, ACE_TCHAR *argv[]);
@@ -113,14 +113,14 @@ public:
void shutdown (int);
/// Initialize naming service
- int obtain_initial_references (void);
+ int obtain_initial_references ();
protected:
/// Function to read the server IOR from a file.
int read_ior (ACE_TCHAR *filename);
/// Parses the arguments passed on the command line.
- int parse_args (void);
+ int parse_args ();
/// Remember our orb.
CORBA::ORB_var orb_;