2 #ifndef JAWS_SYNCH_IO_H
3 #define JAWS_SYNCH_IO_H
5 #include "ace/Singleton.h"
7 #include "jaws3/Jaws_IO.h"
9 class JAWS_Export JAWS_Synch_IO
: public JAWS_IO_Impl
12 static JAWS_Synch_IO
* instance ()
14 return ACE_Singleton
<JAWS_Synch_IO
, ACE_SYNCH_MUTEX
>::instance ();
17 void send ( ACE_HANDLE handle
18 , ACE_Message_Block
*mb
19 , JAWS_Event_Completer
*completer
23 void recv ( ACE_HANDLE handle
24 , ACE_Message_Block
*mb
25 , JAWS_Event_Completer
*completer
29 void transmit ( ACE_HANDLE handle
31 , JAWS_Event_Completer
*completer
33 , ACE_Message_Block
*header
= 0
34 , ACE_Message_Block
*trailer
= 0
37 void send ( ACE_HANDLE handle
38 , ACE_Message_Block
*mb
39 , JAWS_Event_Completer
*completer
40 , const ACE_Time_Value
&tv
44 void recv ( ACE_HANDLE handle
45 , ACE_Message_Block
*mb
46 , JAWS_Event_Completer
*completer
47 , const ACE_Time_Value
&tv
51 void transmit ( ACE_HANDLE handle
53 , JAWS_Event_Completer
*completer
54 , const ACE_Time_Value
&tv
56 , ACE_Message_Block
*header
= 0
57 , ACE_Message_Block
*trailer
= 0
61 #endif /* JAWS_SYNCH_IO_H */