blob: a17c4c38d497d56bc24fe5141321a03dfd9c6a6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
// -*- C++ -*-
// $Id$
// ============================================================================
//
// = LIBRARY
// TAO/examples/Persistent_Client
//
// = FILENAME
// Persistent_Client_i.h
//
// = DESCRIPTION
// This class implements the interface calls for RMI.
//
// = AUTHOR
// Balachandran Natarajan <bala@cs.wustl.edu>
//
// ============================================================================
#ifndef PERSISTENT_CLIENT_I_H
#define PERSISTENT_CLIENT_I_H
#include "Simple_util.h"
#include "GridC.h"
class Persistent_Client_i
{
// = TITLE
// Grid_Client interface subclass.
//
// = DESCRIPTION
// This class implements the interface between the interface
// objects and the client .
public:
// = Initialization and termination methods.
Persistent_Client_i (void);
// Constructor
virtual ~Persistent_Client_i (void);
// Destructor
virtual int run (const char *, int, char *[]);
// Execute the methods.
virtual int parse_args (int argc, char *argv[]);
// Parses the command line arguments.
private:
Client<Grid_Factory, Grid_Factory_var> client;
// Instantiate the client object.
CORBA::Short height_;
// Height of the grid
CORBA::Short width_;
// Width of the grid.
CORBA::Short remove_;
// Flag for the deletion of memory
};
#endif /* PERSISTENT_CLIENT_I_H */
|