blob: 97e6759cf3c856ce95cee09381a80f12b281c081 (
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
|
// -*- c++ -*-
// $Id$
#ifndef REACTOR_I_H
# define REACTOR_I_H
#include "ReactorS.h"
class Reactor_i : public POA_Reactor
{
// = TITLE
// Implement the <Reactor> IDL interface.
public:
Reactor_i (void);
// Constructor.
virtual ~Reactor_i (void);
// Destructor.
virtual CORBA::Long register_handler(EventHandler_ptr eh,
CORBA::Environment &env)
ACE_THROW_SPEC ((CORBA::SystemException));
// Register (with nothing...it's an example!)
virtual void set_value (CORBA::Environment &env)
ACE_THROW_SPEC ((CORBA::SystemException));
virtual CORBA::UShort decrement (EventHandler_ptr eh,
CORBA::UShort num,
CORBA::Environment &env)
ACE_THROW_SPEC ((CORBA::SystemException));
// deccrement <num> by calling decrement thru <eh> until zero is
// reached, then return.
virtual void stop (CORBA::Environment &env)
ACE_THROW_SPEC ((CORBA::SystemException));
// Stops the reactor.
};
#endif /* REACTOR_I_H */
|