00001 // -*- C++ -*- 00002 // 00003 // FIFO_Recv.inl,v 4.2 2005/10/28 16:14:52 ossama Exp 00004 00005 #include "ace/ACE.h" 00006 #include "ace/OS_NS_unistd.h" 00007 00008 ACE_BEGIN_VERSIONED_NAMESPACE_DECL 00009 00010 ACE_INLINE ssize_t 00011 ACE_FIFO_Recv::recv (void *buf, size_t len) 00012 { 00013 ACE_TRACE ("ACE_FIFO_Recv::recv"); 00014 return ACE_OS::read (this->get_handle (), (char *) buf, len); 00015 } 00016 00017 ACE_INLINE ssize_t 00018 ACE_FIFO_Recv::recv_n (void *buf, size_t n) 00019 { 00020 ACE_TRACE ("ACE_FIFO_Recv::recv_n"); 00021 return ACE::recv_n (this->get_handle (), buf, n); 00022 } 00023 00024 ACE_END_VERSIONED_NAMESPACE_DECL