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

ATM_Acceptor.i

Go to the documentation of this file.
00001 // $Id: ATM_Acceptor.i,v 1.1.1.3 2001/12/04 14:32:58 chad Exp $
00002 
00003 // ATM_Acceptor.i
00004 
00005 ACE_INLINE
00006 ACE_ATM_Acceptor::ACE_ATM_Acceptor (const ACE_Addr &remote_sap,
00007                                     int backlog,
00008                                     ACE_ATM_Params params)
00009 {
00010   ACE_TRACE ("ACE_ATM_Acceptor::ACE_ATM_Acceptor");
00011   if (open (remote_sap,
00012             backlog,
00013             params) < 0)
00014     ACE_ERROR ((LM_ERROR,
00015                 ACE_LIB_TEXT ("%p\n"),
00016                 ACE_LIB_TEXT ("ACE_ATM_Acceptor::ACE_ATM_Acceptor")));
00017 }
00018 
00019 ACE_INLINE
00020 int
00021 ACE_ATM_Acceptor::close (void)
00022 {
00023 #if defined (ACE_HAS_FORE_ATM_XTI) || defined (ACE_HAS_FORE_ATM_WS2) || defined (ACE_HAS_LINUX_ATM)
00024   return (acceptor_.close());
00025 #else
00026   return 0;
00027 #endif // ACE_HAS_FORE_ATM_XTI || ACE_HAS_FORE_ATM_WS2 || ACE_HAS_LINUX_ATM
00028 }
00029 
00030 

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