summaryrefslogtreecommitdiff
path: root/apps/Orbix-Examples/Event_Comm/include/Notification_Receiver_i.h
blob: dbcd6671d8fb6a8a6f0b9aadb6049f650f3efc0b (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
/* -*- 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>.
  //
  // = DESCRIPTION
{
public:
  Notification_Receiver_i (void);
  ~Notification_Receiver_i (void);

  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 */