summaryrefslogtreecommitdiff
path: root/TAO/tao/Thread_Per_Connection_Handler.h
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-24 15:50:11 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2006-07-24 15:50:11 +0000
commit8008dd09ccf88d4edef237a184a698cac42f2952 (patch)
treeda50d054f9c761c3f6a5923f6979e93306c56d68 /TAO/tao/Thread_Per_Connection_Handler.h
parent13d6e89af439164c0ade48e6f5c3e9b3f971e8c9 (diff)
downloadATCD-8008dd09ccf88d4edef237a184a698cac42f2952.tar.gz
Repo restructuring
Diffstat (limited to 'TAO/tao/Thread_Per_Connection_Handler.h')
-rw-r--r--TAO/tao/Thread_Per_Connection_Handler.h87
1 files changed, 0 insertions, 87 deletions
diff --git a/TAO/tao/Thread_Per_Connection_Handler.h b/TAO/tao/Thread_Per_Connection_Handler.h
deleted file mode 100644
index cf51317e646..00000000000
--- a/TAO/tao/Thread_Per_Connection_Handler.h
+++ /dev/null
@@ -1,87 +0,0 @@
-//x -*- C++ -*-
-
-//=============================================================================
-/**
- * @file Thread_Per_Connection_Handler.h
- *
- * $Id$
- *
- * Definition of a connection handler for the thread-per-connection
- * strategy.
- *
- * @author Balachandran Natarajan <bala@dre.vanderbilt.edu>
- */
-//=============================================================================
-
-#ifndef TAO_THREAD_PER_CONNECTION_HANDLER_H
-#define TAO_THREAD_PER_CONNECTION_HANDLER_H
-
-#include /**/ "ace/pre.h"
-#include "ace/Task_T.h"
-
-#if !defined (ACE_LACKS_PRAGMA_ONCE)
-# pragma once
-#endif /* ACE_LACKS_PRAGMA_ONCE */
-
-#include "tao/TAO_Export.h"
-#include "tao/Versioned_Namespace.h"
-
-TAO_BEGIN_VERSIONED_NAMESPACE_DECL
-
-class TAO_Connection_Handler;
-class TAO_ORB_Core;
-
-typedef ACE_Task<ACE_NULL_SYNCH> TAO_TPC_BASE;
-
-/**
- * @class TAO_Thread_Per_Connection_Handler
- *
- * @brief Definition for the thread-per-connection strategy.
- *
- * This object acts as an active object, encapsulating the protocol
- * specific handler which the active thread uses to process incoming
- * messages.
- *
- */
-class TAO_Export TAO_Thread_Per_Connection_Handler : public TAO_TPC_BASE
-{
-public:
- TAO_Thread_Per_Connection_Handler (TAO_Connection_Handler *ch,
- TAO_ORB_Core *oc);
-
- ~TAO_Thread_Per_Connection_Handler (void);
-
- /// = Active object activation method.
- /**
- * @todo This probably needs to go after x.4.1
- */
- virtual int activate (long flags = THR_NEW_LWP,
- int n_threads = 1,
- int force_active = 0,
- long priority = ACE_DEFAULT_THREAD_PRIORITY,
- int grp_id = -1,
- ACE_Task_Base *task = 0,
- ACE_hthread_t thread_handles[] = 0,
- void *stack[] = 0,
- size_t stack_size[] = 0,
- ACE_thread_t thread_names[] = 0);
-
- /// Template hook method that the thread uses...
- /**
- * Please see the documentation in ace/Task.h for details.
- */
- virtual int svc (void);
- virtual int open (void *);
- virtual int close (u_long);
-
-private:
- /// Pointer to protocsol specific code that does the bunch of the
- /// job.
- TAO_Connection_Handler *ch_;
-};
-
-TAO_END_VERSIONED_NAMESPACE_DECL
-
-#include /**/ "ace/post.h"
-
-#endif /*TAO_THREAD_PER_CONNECTION_HANDLER_H*/