diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-04 08:22:59 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-04 08:22:59 +0000 |
commit | b818e19903ba56cdf5ef1c01e49e225fe5f33561 (patch) | |
tree | 46a2f588037f54ff6ccc0536d528f06df6c80ff7 /ace/Event_Handler.h | |
parent | 73aef9c7ffb97b8a952b2bf3c5865ad00e16360b (diff) | |
download | ATCD-b818e19903ba56cdf5ef1c01e49e225fe5f33561.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Event_Handler.h')
-rw-r--r-- | ace/Event_Handler.h | 38 |
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); |