00001 #include "ace_pch.h"
00002
00003
00004
00005 #include "ace/FIFO_Recv_Msg.h"
00006 #include "ace/Log_Msg.h"
00007
00008 #if defined (ACE_LACKS_INLINE_FUNCTIONS)
00009 #include "ace/FIFO_Recv_Msg.i"
00010 #endif
00011
00012 ACE_RCSID(ace, FIFO_Recv_Msg, "$Id: FIFO_Recv_Msg.cpp,v 1.1.1.3.40.1 2003/03/13 19:44:21 chad Exp $")
00013
00014 ACE_ALLOC_HOOK_DEFINE(ACE_FIFO_Recv_Msg)
00015
00016 void
00017 ACE_FIFO_Recv_Msg::dump (void) const
00018 {
00019 ACE_TRACE ("ACE_FIFO_Recv_Msg::dump");
00020 ACE_FIFO_Recv::dump ();
00021 }
00022
00023
00024
00025
00026
00027 int
00028 ACE_FIFO_Recv_Msg::open (const ACE_TCHAR *fifo_name,
00029 int flags,
00030 int perms,
00031 int persistent,
00032 LPSECURITY_ATTRIBUTES sa)
00033 {
00034 ACE_TRACE ("ACE_FIFO_Recv_Msg::open");
00035
00036 return ACE_FIFO_Recv::open (fifo_name,
00037 flags,
00038 perms,
00039 persistent,
00040 sa);
00041 }
00042
00043 ACE_FIFO_Recv_Msg::ACE_FIFO_Recv_Msg (void)
00044 {
00045 ACE_TRACE ("ACE_FIFO_Recv_Msg::ACE_FIFO_Recv_Msg");
00046 }
00047
00048 ACE_FIFO_Recv_Msg::ACE_FIFO_Recv_Msg (const ACE_TCHAR *fifo_name,
00049 int flags,
00050 int perms,
00051 int persistent,
00052 LPSECURITY_ATTRIBUTES sa)
00053 {
00054 ACE_TRACE ("ACE_FIFO_Recv_Msg::ACE_FIFO_Recv_Msg");
00055
00056 if (this->ACE_FIFO_Recv_Msg::open (fifo_name,
00057 flags,
00058 perms,
00059 persistent,
00060 sa) == -1)
00061 ACE_ERROR ((LM_ERROR, ACE_LIB_TEXT ("%p\n"), ACE_LIB_TEXT ("ACE_FIFO_Recv_Msg")));
00062 }