diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-01-06 06:50:37 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-01-06 06:50:37 +0000 |
commit | 2f662b966b933653ee11f5b2f58c9be06dd3925f (patch) | |
tree | c59f73afa48ded43058e918c7414ac6186302a95 /ace/SPIPE.cpp | |
parent | de8d5cc38b9acbfa8f0f4acf5d7453698876f3b8 (diff) | |
download | ATCD-2f662b966b933653ee11f5b2f58c9be06dd3925f.tar.gz |
This commit was manufactured by cvs2svn to create tag 'ACE_4_4_32'.ACE_4_4_32
Diffstat (limited to 'ace/SPIPE.cpp')
-rw-r--r-- | ace/SPIPE.cpp | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/ace/SPIPE.cpp b/ace/SPIPE.cpp deleted file mode 100644 index c70cd1ea06d..00000000000 --- a/ace/SPIPE.cpp +++ /dev/null @@ -1,58 +0,0 @@ -// SPIPE.cpp -// $Id$ - -#define ACE_BUILD_DLL -#include "ace/SPIPE.h" - -ACE_ALLOC_HOOK_DEFINE(ACE_SPIPE) - -// This is the do-nothing constructor. - -ACE_SPIPE::ACE_SPIPE (void) -{ - // ACE_TRACE ("ACE_SPIPE::ACE_SPIPE"); -} - -void -ACE_SPIPE::dump (void) const -{ - ACE_TRACE ("ACE_SPIPE::dump"); -} - -// Close down a ACE_SPIPE. - -int -ACE_SPIPE::get_local_addr (ACE_SPIPE_Addr &local_sap) const -{ - ACE_TRACE ("ACE_SPIPE::get_local_addr"); - local_sap = this->local_addr_; - return 0; -} - -// Close down the STREAM pipe without removing the rendezvous point. - -int -ACE_SPIPE::close (void) -{ - ACE_TRACE ("ACE_SPIPE::close"); - int result = 0; - - if (this->get_handle () != ACE_INVALID_HANDLE) - { - result = ACE_OS::close (this->get_handle ()); - this->set_handle (ACE_INVALID_HANDLE); - } - return result; -} - -// Close down the STREAM pipe and remove the rendezvous point from the -// file system. - -int -ACE_SPIPE::remove (void) -{ - ACE_TRACE ("ACE_SPIPE::remove"); - int result = this->close (); - return ACE_OS::unlink (this->local_addr_.get_path_name ()) == -1 || result == -1 ? -1 : 0; -} - |