blob: d182cbd1531ff76756471c641db9ead6a603e66b (
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$
// ============================================================================
//
// = 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.
void receive_notification (in Notification notification);
// Inform the <Notification_Receiver> that <event> has occurred.
void disconnect (in string reason);
// Disconnect the <Notification_Receiver> from the <Notifier>,
// giving it the <reason>.
};
#endif /* _Notification_Receiver_iDL */
|