TLI_Connector.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // TLI_Connector.inl,v 4.2 2005/10/28 16:14:56 ossama Exp
00004 
00005 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 ACE_INLINE
00008 ACE_TLI_Connector::ACE_TLI_Connector (ACE_TLI_Stream &new_stream,
00009                   const ACE_Addr &remote_sap,
00010                   ACE_Time_Value *timeout,
00011                   const ACE_Addr &local_sap,
00012                   int reuse_addr,
00013                   int flags,
00014                   int perms,
00015                   const char device[],
00016                   struct t_info *info,
00017                   int rw_flag,
00018                   struct netbuf *udata,
00019                   struct netbuf *opt)
00020 {
00021   ACE_TRACE ("ACE_TLI_Connector::ACE_TLI_Connector");
00022   if (this->connect (new_stream,
00023                      remote_sap,
00024                      timeout,
00025                      local_sap,
00026                      reuse_addr,
00027                      flags,
00028                      perms,
00029                      device,
00030                      info,
00031                      rw_flag,
00032                      udata,
00033                      opt) == -1
00034       && timeout != 0 && !(errno == EWOULDBLOCK || errno == ETIME))
00035     ACE_ERROR ((LM_ERROR,
00036                 ACE_LIB_TEXT ("%p\n"),
00037                 ACE_LIB_TEXT ("ACE_TLI_Stream::ACE_TLI_Stream")));
00038 }
00039 
00040 ACE_INLINE
00041 int
00042 ACE_TLI_Connector::reset_new_handle (ACE_HANDLE handle)
00043 {
00044   ACE_UNUSED_ARG (handle);
00045   // Nothing to do here since the handle is not a socket
00046   return 0;
00047 }
00048 
00049 ACE_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 09:42:08 2006 for ACE by doxygen 1.3.6