summaryrefslogtreecommitdiff
path: root/TAO/tests/OBV/Simple/Server_i.h
blob: ae0b534a54b49d8f2c221f837aa33a57d74ce766 (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
// -*- C++ -*-

//=============================================================================
/**
 *  @file    Server_i.h
 *
 *  $Id$
 *
 *  This class implements the Event_Types IDL interface.
 *
 *
 *  @author Torsten Kuepper derived from the Echo example TAO/example/Simple/echo of Kirthika Parameswaran <kirthika@cs.wustl.edu>
 */
//=============================================================================


#ifndef ECHO_I_H
#define ECHO_I_H

#include "OBVS.h"


class Checkpoint_i : public POA_Checkpoint
{
public:
  // = Initialization and termination methods.
  /// Constructor.
  Checkpoint_i (void);

  /// Destructor.
  ~Checkpoint_i (void);

  virtual void put_event (
        Event * e
  );

  virtual void shutdown (
    );

  /// Set the ORB pointer.
  void orb (CORBA::ORB_ptr o);

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

#endif /* ECHO_I_H */