summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_1383_Regression/simple_i.h
blob: 642ef9fbdbea0da8b1b89c3c1acc5fe990a78a9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef SIMPLE_I_H
#define SIMPLE_I_H

#include "tao/corba.h"
#include "ace/Event_Handler.h"

#include "simpleS.h"
#include "calleeC.h"

class Simple_i : public POA_Simple, public ACE_Event_Handler
{
public:
  Simple_i(CORBA::ORB_ptr orb);
  void registerCallee(Callee_ptr value);
  int handle_timeout(const ACE_Time_Value & currentTime, const void * data);

private:

  CORBA::ORB_ptr m_orb;
  Callee_var     m_callee;
};

#endif