diff options
Diffstat (limited to 'ace/ATM_Acceptor.h')
-rw-r--r-- | ace/ATM_Acceptor.h | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/ace/ATM_Acceptor.h b/ace/ATM_Acceptor.h index 2f48f07638f..6305013601f 100644 --- a/ace/ATM_Acceptor.h +++ b/ace/ATM_Acceptor.h @@ -1,4 +1,4 @@ -// -*- C++ -*- +/* -*- C++ -*- */ //============================================================================= /** @@ -33,21 +33,14 @@ #if defined (ACE_HAS_FORE_ATM_WS2) || defined (ACE_HAS_LINUX_ATM) #include "ace/SOCK_Acceptor.h" -ACE_BEGIN_VERSIONED_NAMESPACE_DECL typedef ACE_SOCK_Acceptor ATM_Acceptor; -ACE_END_VERSIONED_NAMESPACE_DECL #elif defined (ACE_HAS_FORE_ATM_XTI) #include "ace/TLI_Acceptor.h" -ACE_BEGIN_VERSIONED_NAMESPACE_DECL typedef ACE_TLI_Acceptor ATM_Acceptor; -ACE_END_VERSIONED_NAMESPACE_DECL #endif // ACE_HAS_FORE_ATM_WS2 || ACE_HAS_LINUX_ATM -// Open versioned namespace, if enabled by the user. -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - // Forward declarations. -class ACE_Time_Value; +class ACE_Time_Value /** * @class ACE_ATM_Acceptor @@ -82,8 +75,8 @@ public: // = Passive connection acceptance method. - /// Accept a new data transfer connection. A @a timeout of 0 means - /// block forever, a @a timeout of {0, 0} means poll. @a restart == 1 + /// Accept a new data transfer connection. A <timeout> of 0 means + /// block forever, a <timeout> of {0, 0} means poll. <restart> == 1 /// means "restart if interrupted." int accept (ACE_ATM_Stream &new_sap, ACE_Addr *remote_addr = 0, @@ -110,10 +103,6 @@ private: ATM_Acceptor acceptor_; }; -// Close versioned namespace, if enabled by the user. -ACE_END_VERSIONED_NAMESPACE_DECL - - #if defined (__ACE_INLINE__) #include "ace/ATM_Acceptor.inl" #endif /* __ACE_INLINE__ */ |