From 5a80b73e583418df8f6e5fbda343a56b0a8ac5ff Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Fri, 18 Jul 2003 15:15:34 +0000 Subject: ChangeLogTag: Fri Jul 18 15:15:12 UTC 2003 Johnny Willemsen --- TAO/orbsvcs/tests/Event/Basic/BCast.h | 61 +++++++++++++++++------------------ 1 file changed, 30 insertions(+), 31 deletions(-) (limited to 'TAO/orbsvcs/tests/Event/Basic/BCast.h') diff --git a/TAO/orbsvcs/tests/Event/Basic/BCast.h b/TAO/orbsvcs/tests/Event/Basic/BCast.h index 85e4f32437d..1bd9ea7d528 100644 --- a/TAO/orbsvcs/tests/Event/Basic/BCast.h +++ b/TAO/orbsvcs/tests/Event/Basic/BCast.h @@ -1,18 +1,14 @@ /* -*- C++ -*- */ -// $Id$ -// -// ============================================================================ -// -// = LIBRARY -// ORBSVCS Real-time Event Channel testsuite -// -// = FILENAME -// BCast -// -// = AUTHOR -// Carlos O'Ryan (coryan@cs.wustl.edu) -// -// ============================================================================ +//============================================================================= +/** + * @file BCast.h + * + * $Id$ + * + * @author Carlos O'Ryan (coryan@cs.wustl.edu) + */ +//============================================================================= + #ifndef EC_BCAST_H #define EC_BCAST_H @@ -24,50 +20,53 @@ # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ +/** + * @class EC_BCast + * + * @brief Test the EC bcast + * + */ class EC_BCast : public EC_Driver { - // - // = TITLE - // Test the EC bcast - // - // = DESCRIPTION - // public: + /// Constructor EC_BCast (void); - // Constructor // = The EC_Driver methods + /// add some command line args to enable/disable bcastions virtual int parse_args (int& argc, char* argv[]); virtual void print_args (void) const; virtual void print_usage (void); - // add some command line args to enable/disable bcastions + /// set the bcastion flags virtual void modify_attributes (TAO_EC_Event_Channel_Attributes& attr); - // set the bcastion flags + /// Don't run the suppliers, just test connect and disconnect calls. void execute_test (ACE_ENV_SINGLE_ARG_DECL); - // Don't run the suppliers, just test connect and disconnect calls. + /// Don't dump the EC_Driver results, they are meaningless. void dump_results (void); - // Don't dump the EC_Driver results, they are meaningless. private: + /// The IP address used to broadcast const char* bcast_address_; - // The IP address used to broadcast + /// The port used to send and receive bcast messages... u_short bcast_port_; - // The port used to send and receive bcast messages... }; // **************************************************************** +/** + * @class Simple_Address_Server + * + * A fixed address server + */ class Simple_Address_Server : public POA_RtecUDPAdmin::AddrServer { - // = DESCRIPTION - // A fixed address server public: + /// constructo Simple_Address_Server (const ACE_INET_Addr& address); - // constructo virtual void get_addr (const RtecEventComm::EventHeader& header, RtecUDPAdmin::UDP_Addr& address @@ -75,8 +74,8 @@ public: ACE_THROW_SPEC ((CORBA::SystemException)); private: + /// The UDP addres... RtecUDPAdmin::UDP_Addr address_; - // The UDP addres... }; #endif /* EC_BCAST_H */ -- cgit v1.2.1