Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / XTI_ATM_Mcast.inl
blobc8dddef66756abfc8247d6d1595a1f616ce5923b
1 // -*- C++ -*-
2 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
4 ACE_INLINE
5 ACE_XTI_ATM_Mcast::ACE_XTI_ATM_Mcast (ACE_TLI_Stream &new_stream,
6                   const ACE_Addr &remote_sap,
7                   ACE_Time_Value *timeout,
8                   const ACE_Addr &local_sap,
9                   int reuse_addr,
10                   int flags,
11                   int perms,
12                   const char device[],
13                   struct t_info *info,
14                   int rw_flag,
15                   struct netbuf *udata,
16                   struct netbuf *opt)
18   ACE_TRACE ("ACE_XTI_ATM_Mcast::ACE_XTI_ATM_Mcast");
19   if (this->connect (new_stream, remote_sap, timeout, local_sap, reuse_addr,
20            flags, perms, device,
21            info, rw_flag,
22            udata, opt) == ACE_INVALID_HANDLE
23       && timeout != 0 && !(errno == EWOULDBLOCK || errno == ETIME))
24     ACELIB_ERROR ((LM_ERROR,  ACE_TEXT ("%p\n"),  ACE_TEXT ("ACE_TLI_Stream::ACE_TLI_Stream")));
27 // Connect the <new_stream> to the <remote_sap>, waiting up to
28 // <timeout> amount of time if necessary. This is simple a pass-
29 // through function to ACE_TLI_Connector::connect(). It is over-
30 // ridden to change the default device from TCP to XTI/ATM.
32 ACE_INLINE
33 int
34 ACE_XTI_ATM_Mcast::connect (ACE_TLI_Stream &new_stream,
35              const ACE_Addr &remote_sap,
36              ACE_Time_Value *timeout,
37              const ACE_Addr &local_sap,
38              int reuse_addr,
39              int flags,
40              int perms,
41              const char device[],
42              struct t_info *info,
43              int rw_flag,
44              struct netbuf *udata,
45              struct netbuf *opt)
47   ACE_TRACE ("ACE_XTI_ATM_Mcast::connect");
48   return ACE_TLI_Connector::connect(new_stream,
49                                     remote_sap,
50                                     timeout,
51                                     local_sap,
52                                     reuse_addr,
53                                     flags,
54                                     perms,
55                                     device,
56                                     info,
57                                     rw_flag,
58                                     udata,
59                                     opt);
62 ACE_END_VERSIONED_NAMESPACE_DECL