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

XTI_ATM_Mcast.i

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

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