summaryrefslogtreecommitdiff
path: root/tests/Max_Default_Port_Test.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Max_Default_Port_Test.h')
-rw-r--r--tests/Max_Default_Port_Test.h55
1 files changed, 0 insertions, 55 deletions
diff --git a/tests/Max_Default_Port_Test.h b/tests/Max_Default_Port_Test.h
deleted file mode 100644
index c68b52542f3..00000000000
--- a/tests/Max_Default_Port_Test.h
+++ /dev/null
@@ -1,55 +0,0 @@
-// $Id$
-// ============================================================================
-//
-// = LIBRARY
-// tests
-//
-// = FILENAME
-// Max_Default_Port_Test.h
-//
-// = DESCRIPTION
-// This is a test to verify ACE_MAX_DEFAULT_PORT is correct.
-//
-// = AUTHOR
-// Chanaka Liyanaarachchi <chanaka@ociweb.com>
-//
-// ===========================================================================
-
-
-#ifndef ACE_TESTS_MAX_DEFAULT_PORT_TEST
-#define ACE_TESTS_MAX_DEFAULT_PORT_TEST
-
-#include "ace/Event_Handler.h"
-#include "ace/SOCK_Acceptor.h"
-#include "ace/SOCK_Stream.h"
-#include "ace/INET_Addr.h"
-
-class My_Accept_Handler : public ACE_Event_Handler
-{
- // = Title
- // A simple event handler
-
-
-public:
- My_Accept_Handler (ACE_INET_Addr &addr);
-
- int open (ACE_INET_Addr &addr);
-
- ACE_HANDLE get_handle () const;
-
- int handle_input (ACE_HANDLE handle);
-
- u_short port ();
- // Returns the port the event handler is listening at.
-
-private:
- ACE_SOCK_Acceptor peer_acceptor_;
-
- ACE_SOCK_Stream stream_;
-
- ACE_INET_Addr addr_;
-
-};
-
-
-#endif /* ACE_TESTS_MAX_DEFAULT_PORT_TEST */