diff options
Diffstat (limited to 'tests/MEM_Stream_Test.h')
-rw-r--r-- | tests/MEM_Stream_Test.h | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/tests/MEM_Stream_Test.h b/tests/MEM_Stream_Test.h deleted file mode 100644 index 8f6ea264525..00000000000 --- a/tests/MEM_Stream_Test.h +++ /dev/null @@ -1,59 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// ============================================================================ -// -// = LIBRARY -// tests -// -// = FILENAME -// MEM_Stream_Test.h -// -// = DESCRIPTION -// This file has the class definitions needed for template generation in -// MEM_Stream_Test.cpp. They have to be in a separate file so AIX xlC can -// find them at auto-instantiate time. -// -// = AUTHOR -// Steve Huston <shuston@riverace.com> -// -// ============================================================================ - -#ifndef ACE_TESTS_MEM_STREAM_TEST_H -#define ACE_TESTS_MEM_STREAM_TEST_H - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "ace/OS.h" -#include "ace/MEM_Stream.h" -#include "ace/Reactor.h" -#include "ace/Svc_Handler.h" -#include "ace/Synch.h" - -class Echo_Handler : public ACE_Svc_Handler<ACE_MEM_STREAM, ACE_MT_SYNCH> -{ - // = TITLE - // Simple class for reading in the data and then sending it back -public: - Echo_Handler (); - // virtual int open (void *); - virtual int handle_input (ACE_HANDLE h); - virtual int handle_close (ACE_HANDLE handle, - ACE_Reactor_Mask close_mask); - // The Svc_Handler callbacks. - -public: - static u_short waiting_; - // How many connections are we waiting for. - - static u_short connection_count_; - // How many connections are currently open - -private: - ACE_TCHAR name_[MAXPATHLEN]; - u_short connection_; -}; - -#endif /* ACE_TESTS_MEM_STREAM_TEST_H */ |