1 #include "ace/FIFO_Recv_Msg.h"
3 #include "ace/Log_Category.h"
4 #if defined (ACE_HAS_ALLOC_HOOKS)
5 # include "ace/Malloc_Base.h"
6 #endif /* ACE_HAS_ALLOC_HOOKS */
8 #if !defined (__ACE_INLINE__)
9 #include "ace/FIFO_Recv_Msg.inl"
10 #endif /* __ACE_INLINE__ */
12 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
14 ACE_ALLOC_HOOK_DEFINE(ACE_FIFO_Recv_Msg
)
17 ACE_FIFO_Recv_Msg::dump () const
19 #if defined (ACE_HAS_DUMP)
20 ACE_TRACE ("ACE_FIFO_Recv_Msg::dump");
21 ACE_FIFO_Recv::dump ();
22 #endif /* ACE_HAS_DUMP */
25 // Note that persistent means "open FIFO for writing, as well as
26 // reading." This ensures that the FIFO never gets EOF, even if there
27 // aren't any writers at the moment!
30 ACE_FIFO_Recv_Msg::open (const ACE_TCHAR
*fifo_name
,
34 LPSECURITY_ATTRIBUTES sa
)
36 ACE_TRACE ("ACE_FIFO_Recv_Msg::open");
38 return ACE_FIFO_Recv::open (fifo_name
,
45 ACE_FIFO_Recv_Msg::ACE_FIFO_Recv_Msg ()
47 ACE_TRACE ("ACE_FIFO_Recv_Msg::ACE_FIFO_Recv_Msg");
50 ACE_FIFO_Recv_Msg::ACE_FIFO_Recv_Msg (const ACE_TCHAR
*fifo_name
,
54 LPSECURITY_ATTRIBUTES sa
)
56 ACE_TRACE ("ACE_FIFO_Recv_Msg::ACE_FIFO_Recv_Msg");
58 if (this->ACE_FIFO_Recv_Msg::open (fifo_name
,
63 ACELIB_ERROR ((LM_ERROR
, ACE_TEXT ("%p\n"), ACE_TEXT ("ACE_FIFO_Recv_Msg")));
66 ACE_END_VERSIONED_NAMESPACE_DECL