UPIPE_Connector.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // UPIPE_Connector.inl,v 4.2 2005/10/28 23:55:10 ossama Exp
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_LIB_TEXT ("address %s, %p\n"),
00023                 addr.get_path_name (),
00024                 ACE_LIB_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 Thu Nov 9 09:42:09 2006 for ACE by doxygen 1.3.6