summaryrefslogtreecommitdiff
path: root/apps/Orbix-Examples/Event_Comm/libsrc/Notification.idl
blob: ecfd5adb8e017fd08e7bbc22c24055362e78e14a (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.idl	1.1	10/18/96


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

#ifndef _NOTIFICATION_IDL
#define _NOTIFICATION_IDL

struct Notification
  // = TITLE
  //   Defines the interface for an event <Notification>.
  //
  // = This is the type passed by the Notifier to the Notification_Receiver.
  //   Since it contains an <any>, it can hold any values.  Naturally,
  //   the consumer must understand how to interpret this!
{
  string tag_;
  // Tag for the notification.

//  any value_;
  // A notification can contain anything.

  Object object_ref_;
  // Object reference for callbacks.
};

#endif /* _NOTIFICATION_IDL */