diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-10-16 07:12:59 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-10-16 07:12:59 +0000 |
commit | 512a5604cd46610bed7c7414c4ccbfcf843fb045 (patch) | |
tree | 5d9c059d2b28792c97f4f34f5cb5255c9ec715dc /tests/Priority_Reactor_Test.h | |
parent | 30f0a8538225951940bae342109524cf4e82bc31 (diff) | |
download | ATCD-512a5604cd46610bed7c7414c4ccbfcf843fb045.tar.gz |
*** empty log message ***
Diffstat (limited to 'tests/Priority_Reactor_Test.h')
-rw-r--r-- | tests/Priority_Reactor_Test.h | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/tests/Priority_Reactor_Test.h b/tests/Priority_Reactor_Test.h index 900dbc73375..68becbcb47c 100644 --- a/tests/Priority_Reactor_Test.h +++ b/tests/Priority_Reactor_Test.h @@ -24,16 +24,15 @@ #include "ace/Service_Config.h" #include "ace/Svc_Handler.h" -class Read_Handler : public ACE_Svc_Handler<ACE_SOCK_Stream, ACE_INET_Addr, ACE_SYNCH> -// = TITLE -// A Svc_Handler with a priority twist. -// -// = DESCRIPTION -// This Svc_Handler receives the data sent by the childs or writer -// threads; each one sets it own priority to a new level, in a -// cyclic manner. -// The main point is test and exercise the priority dispatching -// features of ACE_Priority_Reactor. +class Read_Handler : public ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_SYNCH> + // = TITLE + // A Svc_Handler with a priority twist. + // + // = DESCRIPTION + // This Svc_Handler receives the data sent by the childs or writer + // threads; each one sets it own priority to a new level, in a + // cyclic manner. The main point is test and exercise the + // priority dispatching features of ACE_Priority_Reactor. { public: static void set_countdown (int nchildren); @@ -52,14 +51,13 @@ private: // How many readers have started. }; -class Write_Handler : public ACE_Svc_Handler<ACE_SOCK_Stream, ACE_INET_Addr, ACE_SYNCH> -// = TITLE -// A simple writer. -// -// = DESCRIPTION -// This Svc_Handler simply connects to a server and sends some -// output to it. -// Its purpose is to feed the test. +class Write_Handler : public ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_SYNCH> + // = TITLE + // A simple writer. + // + // = DESCRIPTION + // This Svc_Handler simply connects to a server and sends some + // output to it. Its purpose is to feed the test. { public: virtual int open (void *); |