blob: 75e738e0627532790f12c216520558b0d2d4924b (
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++ -*- */
// @(#)Notifier.idl 1.1 10/18/96
// ============================================================================
//
// = LIBRARY
// EventComm
//
// = FILENAME
// Notifier.idl
//
// = DESCRIPTION
// This is the CORBA IDL interface for the Event Communication <Notifier>.
//
// = AUTHOR
// Douglas C. Schmidt (schmidt@cs.wustl.edu)
//
// ============================================================================
#ifndef _Notifier_iDL
#define _Notifier_iDL
#include "Notification.idl"
#include "Notification_Receiver.idl"
interface Notifier
// = TITLE
// Defines the interface for a <Notifier> of events.
//
// = DESCRIPTION
{
oneway void send_disconnect (in string reason);
// Disconnect all the receivers, giving them the <reason>.
oneway void send_notification (in Notification notification);
// Send the <Notification> to all the consumers who
// have subscribed and who match the filtering criteria.
oneway void subscribe (in Notification_Receiver notification_receiver,
in string filtering_criteria);
// Subscribe the <Notification_Receiver> to receive events that
// match <filtering_criteria> applied by the <Notifier>.
oneway void unsubscribe (in Notification_Receiver notification_receiver);
// Unsubscribe the <Notification_Receiver>.
};
#endif /* _Notifier_iDL */
|