XTI_ATM_Mcast.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // XTI_ATM_Mcast.inl,v 4.2 2005/10/28 23:55:10 ossama Exp
00004 
00005 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 ACE_INLINE
00008 ACE_XTI_ATM_Mcast::ACE_XTI_ATM_Mcast (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_XTI_ATM_Mcast::ACE_XTI_ATM_Mcast");
00022   if (this->connect (new_stream, remote_sap, timeout, local_sap, reuse_addr,
00023            flags, perms, device,
00024            info, rw_flag,
00025            udata, opt) == ACE_INVALID_HANDLE
00026       && timeout != 0 && !(errno == EWOULDBLOCK || errno == ETIME))
00027     ACE_ERROR ((LM_ERROR,  ACE_LIB_TEXT ("%p\n"),  ACE_LIB_TEXT ("ACE_TLI_Stream::ACE_TLI_Stream")));
00028 }
00029 
00030 // Connect the <new_stream> to the <remote_sap>, waiting up to
00031 // <timeout> amount of time if necessary. This is simple a pass-
00032 // through function to ACE_TLI_Connector::connect(). It is over-
00033 // ridden to change the default device from TCP to XTI/ATM.
00034 
00035 ACE_INLINE
00036 int
00037 ACE_XTI_ATM_Mcast::connect (ACE_TLI_Stream &new_stream,
00038              const ACE_Addr &remote_sap,
00039              ACE_Time_Value *timeout,
00040              const ACE_Addr &local_sap,
00041              int reuse_addr,
00042              int flags,
00043              int perms,
00044              const char device[],
00045              struct t_info *info,
00046              int rw_flag,
00047              struct netbuf *udata,
00048              struct netbuf *opt)
00049 {
00050   ACE_TRACE ("ACE_XTI_ATM_Mcast::connect");
00051   return ACE_TLI_Connector::connect(new_stream,
00052                                     remote_sap,
00053                                     timeout,
00054                                     local_sap,
00055                                     reuse_addr,
00056                                     flags,
00057                                     perms,
00058                                     device,
00059                                     info,
00060                                     rw_flag,
00061                                     udata,
00062                                     opt);
00063 }
00064 
00065 ACE_END_VERSIONED_NAMESPACE_DECL

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