blob: 96fbbdd52d92cefd305d43bed3cb69025810f243 (
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
63
64
|
// -*- C++ -*-
// $Id$
// ===========================================================
//
// = LIBRARY
// TAO/tests/ior_corbaname/
//
// = FILENAME
// ior_corbaname_client_i.h
//
// = DESCRIPTION
// This class implements a simple client which sends a corbaname:
// style url to the server and gets a response from the
// server to indicate that the server has received the request.
//
// = AUTHORS
// Priyanka Gontla <pgontla@ece.uci.edu>
//
//============================================================
#if !defined (IOR_CORBANAME_CLIENT_I_H)
#define IOR_CORBANAME_CLIENT_I_H
#include "corbanameC.h"
#include "orbsvcs/CosNamingC.h"
class IOR_corbaname_Client_i
{
// = TITLE
// NContextExt Client Implementation
//
// = DESCRIPTION
//
public:
// = COnstructor and destructor.
IOR_corbaname_Client_i (void);
~IOR_corbaname_Client_i (void);
int run (ACE_ENV_SINGLE_ARG_DECL);
// Execute the client example code.
int init (int argc, char **argv);
// Initialize the client communication endpoint with the server.
private:
int argc_;
// # of arguments on the command line.
char **argv_;
// arguments from command line.
CORBA::ORB_var orb_;
// ORB
CosNaming::NamingContextExt_var naming_context_;
// Naming context
};
#endif /* IOR_CORBANAME_CLIENT_I_H */
|