summaryrefslogtreecommitdiff
path: root/TAO/examples/Event_Comm/Event_Comm.idl
diff options
context:
space:
mode:
authorpradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-13 01:30:21 +0000
committerpradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-13 01:30:21 +0000
commit72722af0e8f27cd61ef704cff9c11a01cac7fe62 (patch)
tree49b87c84d06236cc8488c955f24b1b5b1ec27dbd /TAO/examples/Event_Comm/Event_Comm.idl
parent4d9d8b0e02cd620cb8b405188534bf6ca2fce309 (diff)
downloadATCD-72722af0e8f27cd61ef704cff9c11a01cac7fe62.tar.gz
*** empty log message ***
Diffstat (limited to 'TAO/examples/Event_Comm/Event_Comm.idl')
-rw-r--r--TAO/examples/Event_Comm/Event_Comm.idl19
1 files changed, 14 insertions, 5 deletions
diff --git a/TAO/examples/Event_Comm/Event_Comm.idl b/TAO/examples/Event_Comm/Event_Comm.idl
index 8c2018bbba2..09908daa751 100644
--- a/TAO/examples/Event_Comm/Event_Comm.idl
+++ b/TAO/examples/Event_Comm/Event_Comm.idl
@@ -47,19 +47,16 @@ module Event_Comm
};
interface Consumer
+ {
// = TITLE
// Defines the interface for a <Consumer> of events.
- // Note that all operations are <oneway> to avoid blocking.
- {
+
void push (in Event event);
// Inform the <Consumer> that <event> has occurred.
void disconnect (in string reason);
// Disconnect the <Consumer> from the <Notifier>,
// giving it the <reason>.
-
- string marker ();
- // @@ what does this do?? why was it missing?
};
interface Notifier
@@ -67,6 +64,18 @@ module Event_Comm
// = TITLE
// Defines the interface for a <Notifier> of events.
+ exception CannotSubscribe
+ {
+ string reason_;
+ };
+ // This exception in thrown when a <subscribe> fails.
+
+ exception CannotUnsubscribe
+ {
+ string reason_;
+ };
+ // This exception in thrown when a <unsubscribe> fails.
+
// = The following operations are intended for Suppliers.
void disconnect (in string reason);