7 #ifndef TAO_POLLABLE_PIDL
8 #define TAO_POLLABLE_PIDL
10 #pragma prefix "omg.org"
14 local interface PollableSet;
16 local interface Pollable
18 boolean is_ready (in unsigned long timeout);
19 PollableSet create_pollable_set ();
22 local interface DIIPollable : Pollable
26 local interface PollableSet
28 exception NoPossiblePollable {};
29 exception UnknownPollable {};
31 DIIPollable create_dii_pollable ();
33 void add_pollable (in Pollable potential);
35 Pollable get_ready_pollable (in unsigned long timeout)
36 raises (NoPossiblePollable);
38 void remove (in Pollable potential)
39 raises (UnknownPollable);
41 unsigned short number_left ();
45 #endif /* TAO_POLLABLE_PIDL */