summaryrefslogtreecommitdiff
path: root/apps/Orbix-Examples/Event_Comm/libsrc/Notification_Receiver.idl
blob: 222f18782f7d56313c0cee8a52711ce8718a9956 (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
/* -*- C++ -*- */
// @(#)Notification_Receiver.idl	1.1	10/18/96


// ============================================================================
//
// = LIBRARY
//    EventComm
// 
// = FILENAME
//    Notification_Receiver.idl
//
// = DESCRIPTION 
//    The CORBA IDL interface for the Event Communication 
//    <Notification_Receiver> component.
//
// = AUTHOR
//    Douglas C. Schmidt (schmidt@cs.wustl.edu)
// 
// ============================================================================

#include "Notification.idl"

#ifndef _Notification_Receiver_iDL
#define _Notification_Receiver_iDL

interface Notification_Receiver
  // = TITLE
  //   Defines the interface for a <Notification_Receiver> of events.
  //   Note that all operations are <oneway> to avoid blocking.
  //
  // = DESCRIPTION
{
  oneway void receive_notification (in Notification notification);
  // Inform the <Notification_Receiver> that <event> has occurred.

  oneway void disconnect (in string reason);
  // Disconnect the <Notification_Receiver> from the <Notifier>,
  // giving it the <reason>.
};

#endif /* _Notification_Receiver_iDL */