Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / FILE_Connector.inl
bloba12a6573bc05f2a49222bb96a2cfac8f8bfa2392
1 // -*- C++ -*-
2 // Creates a Local ACE_FILE.
4 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
6 ACE_INLINE
7 ACE_FILE_Connector::ACE_FILE_Connector (ACE_FILE_IO &new_io,
8                                         const ACE_FILE_Addr &remote_sap,
9                                         ACE_Time_Value *timeout,
10                                         const ACE_Addr &local_sap,
11                                         int reuse_addr,
12                                         int flags,
13                                         int perms)
15   ACE_TRACE ("ACE_FILE_Connector::ACE_FILE_Connector");
16   if (this->connect (new_io, remote_sap, timeout, local_sap,
17                      reuse_addr, flags, perms) == ACE_IO_SAP::INVALID_HANDLE
18       && timeout != 0 && !(errno == EWOULDBLOCK || errno == ETIME))
19     ACELIB_ERROR ((LM_ERROR,
20                 ACE_TEXT ("address %s, %p\n"),
21                 remote_sap.get_path_name (),
22                 ACE_TEXT ("ACE_FILE_IO")));
25 ACE_INLINE bool
26 ACE_FILE_Connector::reset_new_handle (ACE_HANDLE)
28   // Nothing to do here since the handle is not a socket
29   return false;
32 ACE_END_VERSIONED_NAMESPACE_DECL