Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

DEV_Connector.i

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 // $Id: DEV_Connector.i,v 1.1.1.3 2001/12/04 14:33:00 chad Exp $
00003 
00004 // Creates a Local ACE_DEV. 
00005 
00006 ASYS_INLINE
00007 ACE_DEV_Connector::ACE_DEV_Connector (ACE_DEV_IO &new_io, 
00008                                       const ACE_DEV_Addr &remote_sap,
00009                                       ACE_Time_Value *timeout,
00010                                       const ACE_Addr &local_sap,
00011                                       int reuse_addr,
00012                                       int flags,
00013                                       int perms)
00014 {
00015   ACE_TRACE ("ACE_DEV_Connector::ACE_DEV_Connector");
00016   if (this->connect (new_io, remote_sap, timeout, local_sap, 
00017                      reuse_addr, flags, perms) == ACE_IO_SAP::INVALID_HANDLE
00018       && timeout != 0 && !(errno == EWOULDBLOCK || errno == ETIME))
00019     ACE_ERROR ((LM_ERROR, ACE_LIB_TEXT ("address %s, %p\n"), 
00020                     remote_sap.get_path_name (), ACE_LIB_TEXT ("ACE_DEV_IO")));
00021 }
00022 
00023 ASYS_INLINE int 
00024 ACE_DEV_Connector::reset_new_handle (ACE_HANDLE handle)
00025 {
00026   ACE_UNUSED_ARG (handle);
00027   // Nothing to do here since the handle is not a socket
00028   return 0;
00029 }
00030 

Generated on Mon Jun 16 11:19:34 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002