UPIPE_Connector.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // $Id: UPIPE_Connector.inl 80826 2008-03-04 14:51:23Z wotte $
00004 
00005 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 // Creates a Local ACE_UPIPE.
00008 ACE_INLINE
00009 ACE_UPIPE_Connector::ACE_UPIPE_Connector (ACE_UPIPE_Stream &new_stream,
00010                                           const ACE_UPIPE_Addr &addr,
00011                                           ACE_Time_Value *timeout,
00012                                           const ACE_Addr &local_sap,
00013                                           int reuse_addr,
00014                                           int flags,
00015                                           int perms)
00016 {
00017   ACE_TRACE ("ACE_UPIPE_Connector::ACE_UPIPE_Connector");
00018   if (this->connect (new_stream, addr, timeout, local_sap,
00019                      reuse_addr, flags, perms) == -1
00020       && timeout != 0 && !(errno == EWOULDBLOCK || errno == ETIME))
00021     ACE_ERROR ((LM_ERROR,
00022                 ACE_TEXT ("address %s, %p\n"),
00023                 addr.get_path_name (),
00024                 ACE_TEXT ("ACE_UPIPE_Connector")));
00025 }
00026 
00027 ACE_INLINE int
00028 ACE_UPIPE_Connector::reset_new_handle (ACE_HANDLE /* handle */)
00029 {
00030   // Nothing to do here since the handle is not a socket
00031   return 0;
00032 }
00033 
00034 ACE_END_VERSIONED_NAMESPACE_DECL

Generated on Tue Feb 2 17:18:44 2010 for ACE by  doxygen 1.4.7