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

FILE_Connector.i

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 // $Id: FILE_Connector.i,v 1.1.1.3 2001/12/04 14:33:00 chad Exp $
00003 
00004 // FILE_Connector.i
00005 
00006 // Creates a Local ACE_FILE.
00007 
00008 ASYS_INLINE
00009 ACE_FILE_Connector::ACE_FILE_Connector (ACE_FILE_IO &new_io,
00010                                         const ACE_FILE_Addr &remote_sap,
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_FILE_Connector::ACE_FILE_Connector");
00018   if (this->connect (new_io, remote_sap, timeout, local_sap,
00019                      reuse_addr, flags, perms) == ACE_IO_SAP::INVALID_HANDLE
00020       && timeout != 0 && !(errno == EWOULDBLOCK || errno == ETIME))
00021     ACE_ERROR ((LM_ERROR,
00022                 ACE_LIB_TEXT ("address %s, %p\n"),
00023                 remote_sap.get_path_name (),
00024                 ACE_LIB_TEXT ("ACE_FILE_IO")));
00025 }
00026 
00027 ASYS_INLINE int
00028 ACE_FILE_Connector::reset_new_handle (ACE_HANDLE handle)
00029 {
00030   ACE_UNUSED_ARG (handle);
00031   // Nothing to do here since the handle is not a socket
00032   return 0;
00033 }

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