summaryrefslogtreecommitdiff
path: root/apps/Orbix-Examples/Event_Comm/libsrc/Notification_Receiver_i.h
blob: 4466db11c215676cc60b34b78d901cd66b2421f5 (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++ -*- */
// $Id$

// ============================================================================
//
// = LIBRARY
//    EventComm
//
// = FILENAME
//    Notification_Receiver__i.h
//
// = DESCRIPTION
//    Class interface for the implementation of the <Notification_Receiver>
//
// = AUTHOR
//    Douglas C. Schmidt (schmidt@cs.wustl.edu)
//
// ============================================================================

#ifndef _Notification_Receiver_i_H
#define _Notification_Receiver_i_H

#if defined (ACE_HAS_ORBIX) && (ACE_HAS_ORBIX != 0)
#include "Event_Comm.hh"

class Notification_Receiver_i
{
  // = TITLE
  //   Defines the implementation class for event <Notification_Receivers>.
public:
  // = Initialization and termination methods.
  Notification_Receiver_i (void);
  // Constructor.

  ~Notification_Receiver_i (void);
  // Destructor.

  virtual void receive_notification (const Event_Comm::Notification &notification,
                                     CORBA::Environment &IT_env);
  // Pass the <Notification> to the <Notification_Receiver>.

  virtual void disconnect (const char *reason,
                           CORBA::Environment &IT_env);
  // Disconnect the <Notification_Receiver> from the <Notifier>,
  // giving it the <reason>.
};

#endif /* ACE_HAS_ORBIX */
#endif /* _Notification_Receiver_i_H */