summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_2084_Regression/EventNode.h
blob: b3e62f57e7c6e3de5da8d1b4eab194491afec614 (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
// -*- C++ -*-
//
// $Id$
//

#ifndef EVENT_NODE_H
#define EVENT_NODE_H
#include /**/ "ace/pre.h"

#include "TestS.h"

#include "ace/OS_NS_Thread.h"

/// Implement the Test::EventNode interface
class EventNode
  : public virtual POA_Test::EventNode
{
public:
  /// Constructor
  EventNode (CORBA::ORB_ptr orb,
             ACE_thread_t thr_id);

  // = The skeleton methods
  virtual void registerHello ( ::Test::Hello_ptr h);

  virtual void shutdown (void);

private:
  /// Use an ORB reference to conver strings to objects and shutdown
  /// the application.
  CORBA::ORB_var orb_;

  ACE_thread_t const thr_id_;
};

#include /**/ "ace/post.h"
#endif /* HELLO_H */