summaryrefslogtreecommitdiff
path: root/TAO/tests/GIOP_Fragments/Big_String_Sequence/Echo_i.h
blob: 3be035a6eee7a2d0638dca8db0c6275227bc940f (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
// -*- C++ -*-

//=============================================================================
/**
 *  @file    Echo_i.h
 *
 *  This class implements the Echo IDL interface.
 *
 */
//=============================================================================


#ifndef ECHO_I_H
#define ECHO_I_H

#include "EchoS.h"

/**
 * @class Echo_i
 *
 * @brief Echo Object Implementation
 *
 */
class Echo_i : public POA_Echo
{
public:
  /// Constructor.
  Echo_i (CORBA::ORB_ptr o);

  /// Destructor.
  ~Echo_i () override = default;

  /// Return the result sequences to the cllient.
  Echo::List *return_list () override;
  Echo::WList *return_wlist () override;

  /// Shutdown the server.
  void shutdown () override;

private:
  /// ORB pointer.
  CORBA::ORB_var orb_;

  void operator= (const Echo_i&) = delete;
};

#endif /* ECHO_I_H */