blob: bc7b11c391a4d601a0095a514b751f804c791a90 (
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
|
// -*- 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);
// Register (with nothing...it's an example!)
virtual void set_value (CORBA::Environment &env);
virtual CORBA::UShort decrement (EventHandler_ptr eh,
CORBA::UShort num,
CORBA::Environment &env);
// deccrement <num> by calling decrement thru <eh> until zero is
// reached, then return.
virtual void stop (CORBA::Environment &env);
// Stops the reactor.
};
#endif /* REACTOR_I_H */
|