summaryrefslogtreecommitdiff
path: root/ACE/examples/C++NPv1/RT_Thread_Per_Connection_Logging_Server.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/examples/C++NPv1/RT_Thread_Per_Connection_Logging_Server.h')
-rw-r--r--ACE/examples/C++NPv1/RT_Thread_Per_Connection_Logging_Server.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/ACE/examples/C++NPv1/RT_Thread_Per_Connection_Logging_Server.h b/ACE/examples/C++NPv1/RT_Thread_Per_Connection_Logging_Server.h
new file mode 100644
index 00000000000..828a0e61a03
--- /dev/null
+++ b/ACE/examples/C++NPv1/RT_Thread_Per_Connection_Logging_Server.h
@@ -0,0 +1,22 @@
+/*
+** $Id$
+**
+** Copyright 2001 Addison Wesley. All Rights Reserved.
+*/
+
+#ifndef _RT_THREAD_PER_CONNECTION_LOGGING_SERVER_H
+#define _RT_THREAD_PER_CONNECTION_LOGGING_SERVER_H
+
+#include "ace/SOCK_Stream.h"
+#include "Logging_Server.h"
+#include "Thread_Per_Connection_Logging_Server.h"
+
+class RT_Thread_Per_Connection_Logging_Server :
+ public Thread_Per_Connection_Logging_Server
+{
+protected:
+ virtual int open (u_short port);
+ virtual int handle_data (ACE_SOCK_Stream * = 0);
+};
+
+#endif /* _RT_THREAD_PER_CONNECTION_LOGGING_SERVER_H */