diff options
Diffstat (limited to 'ACE/tests/Cached_Conn_Test.h')
-rw-r--r-- | ACE/tests/Cached_Conn_Test.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/ACE/tests/Cached_Conn_Test.h b/ACE/tests/Cached_Conn_Test.h new file mode 100644 index 00000000000..4e7cfa4673e --- /dev/null +++ b/ACE/tests/Cached_Conn_Test.h @@ -0,0 +1,35 @@ +// $Id$ + +// ============================================================================ +// +// = LIBRARY +// tests +// +// = FILENAME +// Cache_Conn_Test.h +// +// = DESCRIPTION +// Define class needed for generating templates. IBM C++ requires this to +// be in its own file for auto template instantiation. +// +// = AUTHOR +// Kirthika Parameswaran <kirthika@cs.wustl.edu> +// +// ============================================================================ + +#ifndef ACE_TESTS_CACHED_CONN_TEST_H +#define ACE_TESTS_CACHED_CONN_TEST_H + +#include "ace/SOCK_Stream.h" +#include "ace/Svc_Handler.h" + +class Svc_Handler : public ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH> +{ +public: + + Svc_Handler (ACE_Thread_Manager *t = 0); + int open (void *v = 0); + int close (u_long flags = 0); +}; + +#endif /* ACE_TESTS_CACHED_ACCEPT_CONN_TEST_H */ |