DEV_Connector.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // DEV_Connector.inl,v 4.2 2005/10/28 16:14:52 ossama Exp
00004 
00005 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 // Creates a Local ACE_DEV.
00008 
00009 ACE_INLINE
00010 ACE_DEV_Connector::ACE_DEV_Connector (ACE_DEV_IO &new_io,
00011                                       const ACE_DEV_Addr &remote_sap,
00012                                       ACE_Time_Value *timeout,
00013                                       const ACE_Addr &local_sap,
00014                                       int reuse_addr,
00015                                       int flags,
00016                                       int perms)
00017 {
00018   ACE_TRACE ("ACE_DEV_Connector::ACE_DEV_Connector");
00019   if (this->connect (new_io, remote_sap, timeout, local_sap,
00020                      reuse_addr, flags, perms) == ACE_IO_SAP::INVALID_HANDLE
00021       && timeout != 0 && !(errno == EWOULDBLOCK || errno == ETIME))
00022     ACE_ERROR ((LM_ERROR, ACE_LIB_TEXT ("address %s, %p\n"),
00023                     remote_sap.get_path_name (), ACE_LIB_TEXT ("ACE_DEV_IO")));
00024 }
00025 
00026 ACE_INLINE int
00027 ACE_DEV_Connector::reset_new_handle (ACE_HANDLE handle)
00028 {
00029   ACE_UNUSED_ARG (handle);
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:41:50 2006 for ACE by doxygen 1.3.6