summaryrefslogtreecommitdiff
path: root/ACE/TAO/examples/Simple/time/Time_Client_i.h
blob: f0f6aba59c3d468443ee899ab3c696acd0b063f2 (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
// -*- C++ -*-
// $Id$

// ============================================================================
//
// = LIBRARY
//    TAO/examples/Simple/time
//
// = FILENAME
//    Time_Client_i.h
//
// = DESCRIPTION
//    This class implements the client calls to the Time example.
//
// = AUTHOR
//   Balachandran Natarajan <bala@cs.wustl.edu>
//    
// ============================================================================

#ifndef TIME_CLIENT_I_H
#define TIME_CLIENT_I_H

#include "../Simple_util.h"
#include "TimeC.h"

class Time_Client_i
{
  // = TITLE
  //   Time_Client interface subclass.
  //
  // = DESCRIPTION
  //   This class implements the interface between the interface
  //   objects and the client.
public:
  // = Initialization and termination methods.
  Time_Client_i (void);
  // Constructor

  ~Time_Client_i (void);
  // Destructor

  int run (const char *, int, ACE_TCHAR**);
  // Execute the methods

private:
  Client<Time> client_;
  // Instantiate the client object.
};

#endif /* TIME_CLIENT_I_H */