summaryrefslogtreecommitdiff
path: root/ace/Event_Handler.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-04 08:22:59 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-10-04 08:22:59 +0000
commit9beb73949f9eb59c74460374b4035bfbd6817bcf (patch)
tree46a2f588037f54ff6ccc0536d528f06df6c80ff7 /ace/Event_Handler.h
parent5e8aecc276cf35301db83afaa1fc64d4db00d81a (diff)
downloadATCD-9beb73949f9eb59c74460374b4035bfbd6817bcf.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Event_Handler.h')
-rw-r--r--ace/Event_Handler.h38
1 files changed, 22 insertions, 16 deletions
diff --git a/ace/Event_Handler.h b/ace/Event_Handler.h
index c63e781d6cd..f770e5971c6 100644
--- a/ace/Event_Handler.h
+++ b/ace/Event_Handler.h
@@ -46,23 +46,29 @@ public:
WRITE_MASK = POLLOUT,
EXCEPT_MASK = POLLPRI,
#else /* USE SELECT */
- READ_MASK = 0x1,
- WRITE_MASK = 0x4,
- EXCEPT_MASK = 0x2,
+ READ_MASK = (1 << 0),
+ WRITE_MASK = (1 << 1),
+ EXCEPT_MASK = (1 << 2),
#endif /* ACE_USE_POLL */
- ACCEPT_MASK = 0x8,
- CONNECT_MASK = READ_MASK | WRITE_MASK
-#if defined (ACE_WIN32)
- | EXCEPT_MASK
-#endif /* ACE_WIN32 */
- ,
- TIMER_MASK = 0x10,
- QOS_MASK = 0x20,
- GROUP_QOS_MASK = 0x40,
- CLOSE_MASK = 0x80,
- ALL_EVENTS_MASK = READ_MASK | WRITE_MASK | EXCEPT_MASK | ACCEPT_MASK | QOS_MASK | GROUP_QOS_MASK | CLOSE_MASK,
- RWE_MASK = READ_MASK | WRITE_MASK | EXCEPT_MASK,
- DONT_CALL = 0x100
+ ACCEPT_MASK = (1 << 3),
+ CONNECT_MASK = (1 << 4),
+ TIMER_MASK = (1 << 5),
+ QOS_MASK = (1 << 6),
+ GROUP_QOS_MASK = (1 << 7),
+ CLOSE_MASK = (1 << 8),
+ ALL_EVENTS_MASK = READ_MASK |
+ WRITE_MASK |
+ EXCEPT_MASK |
+ ACCEPT_MASK |
+ CONNECT_MASK |
+ TIMER_MASK |
+ QOS_MASK |
+ GROUP_QOS_MASK |
+ CLOSE_MASK,
+ RWE_MASK = READ_MASK |
+ WRITE_MASK |
+ EXCEPT_MASK,
+ DONT_CALL = (1 << 9)
};
virtual ~ACE_Event_Handler (void);