summaryrefslogtreecommitdiff
path: root/TAO/tao/Pollable.pidl
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-07 17:14:20 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-07 17:14:20 +0000
commita0af4517dd908245d12ca05b4895033cecad4826 (patch)
tree3c1ff4952d51f56a09922786025f8760bcc13d09 /TAO/tao/Pollable.pidl
parentc42c7a935e6c79194b005e6b7fc7a7d92392c639 (diff)
downloadATCD-a0af4517dd908245d12ca05b4895033cecad4826.tar.gz
ChangeLogTag:Wed Apr 7 12:03:33 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Pollable.pidl')
-rw-r--r--TAO/tao/Pollable.pidl54
1 files changed, 54 insertions, 0 deletions
diff --git a/TAO/tao/Pollable.pidl b/TAO/tao/Pollable.pidl
new file mode 100644
index 00000000000..347aa4c9dfc
--- /dev/null
+++ b/TAO/tao/Pollable.pidl
@@ -0,0 +1,54 @@
+//
+// $Id$
+//
+// ================================================================
+//
+// = LIBRARY
+// TAO
+//
+// = FILENAME
+// Policy.pidl
+//
+// = DESCRIPTION
+// This file was used to generate the code in Pollable{C,S,S_T}.{h,i,cpp}
+// The code is then hand-crafted to compile it inside the ORB, avoid
+// cyclic dependencies and enforce the locality constraints on
+// certain objects.
+//
+// ================================================================
+
+#pragma prefix "omg.org"
+
+module CORBA
+{
+ interface PollableSet;
+
+ interface Pollable {
+ boolean is_ready(in unsigned long timeout);
+
+ PollableSet create_pollable_set( );
+ };
+
+ interface DIIPollable : Pollable { };
+
+ interface PollableSet {
+
+ exception NoPossiblePollable { };
+ exception UnknownPollable { };
+
+ DIIPollable create_dii_pollable();
+
+ void add_pollable(in Pollable potential );
+
+ Pollable poll(in unsigned long timeout)
+ raises( NoPossiblePollable );
+
+ void remove(in Pollable potential )
+ raises( UnknownPollable );
+
+ unsigned short number_left( );
+ };
+
+};
+
+#pragma prefix ""