From a5fdebc5f6375078ec1763850a4ca23ec7fe6458 Mon Sep 17 00:00:00 2001 From: levine Date: Mon, 21 Oct 1996 21:41:34 +0000 Subject: Initial revision --- ace/FIFO_Send.cpp | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 ace/FIFO_Send.cpp (limited to 'ace/FIFO_Send.cpp') diff --git a/ace/FIFO_Send.cpp b/ace/FIFO_Send.cpp new file mode 100644 index 00000000000..6d463af5ae8 --- /dev/null +++ b/ace/FIFO_Send.cpp @@ -0,0 +1,36 @@ +// FIFO_Send.cpp +// $Id$ + +/* -*- C++ -*- */ + +#define ACE_BUILD_DLL +#include "ace/FIFO_Send.h" +#include "ace/Log_Msg.h" + +ACE_ALLOC_HOOK_DEFINE(ACE_FIFO_Send) + +void +ACE_FIFO_Send::dump (void) const +{ + ACE_TRACE ("ACE_FIFO_Send::dump"); + ACE_FIFO::dump (); +} + +ACE_FIFO_Send::ACE_FIFO_Send (void) +{ +// ACE_TRACE ("ACE_FIFO_Send::ACE_FIFO_Send"); +} + +int +ACE_FIFO_Send::open (const char *rendezvous_name, int flags, int perms) +{ + ACE_TRACE ("ACE_FIFO_Send::open"); + return ACE_FIFO::open (rendezvous_name, flags | O_WRONLY, perms); +} + +ACE_FIFO_Send::ACE_FIFO_Send (const char *fifo_name, int flags, int perms) +{ + ACE_TRACE ("ACE_FIFO_Send::ACE_FIFO_Send"); + if (this->ACE_FIFO_Send::open (fifo_name, flags, perms) == -1) + ACE_ERROR ((LM_ERROR, "%p\n", "ACE_FIFO_Send::ACE_FIFO_Send")); +} -- cgit v1.2.1