diff options
author | jai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-26 15:54:13 +0000 |
---|---|---|
committer | jai <jai@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-01-26 15:54:13 +0000 |
commit | 250bae57b4edb802aac812361bf81383ddbe637e (patch) | |
tree | 767c4a9df6d4ef36d878b2152da75898d7d89e4a | |
parent | b2158dafff34048eeaa03b65802dc7202c76fba3 (diff) | |
download | ATCD-250bae57b4edb802aac812361bf81383ddbe637e.tar.gz |
refactoring protocols hooks
-rw-r--r-- | TAO/tao/Default_Thread_Priority_Protocols_Hooks.cpp | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/TAO/tao/Default_Thread_Priority_Protocols_Hooks.cpp b/TAO/tao/Default_Thread_Priority_Protocols_Hooks.cpp new file mode 100644 index 00000000000..98444ceca6b --- /dev/null +++ b/TAO/tao/Default_Thread_Priority_Protocols_Hooks.cpp @@ -0,0 +1,84 @@ +// $Id$ + +#include "tao/Default_Thread_Priority_Protocols_Hooks.h" +#include "ace/Log_Msg.h" +#include "tao/Stub.h" +#include "tao/ORB_Core.h" +#include "tao/MProfile.h" +#include "tao/Service_Context.h" +#include "tao/Acceptor_Registry.h" +#include "tao/Thread_Lane_Resources.h" +#include "tao/Protocol_Factory.h" +#include "tao/Transport_Acceptor.h" +#include "tao/Transport_Connector.h" +#include "tao/Policy_Set.h" +#include "tao/debug.h" +#include "tao/CDR.h" +#include "ace/Dynamic_Service.h" +#include "ace/OS_NS_string.h" +#include "tao/Client_Network_Priority_Policy.h" + +ACE_RCSID (tao, + Default_Thread_Priority_Protocols_Hooks, + "$Id$") + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +TAO_Default_Thread_Priority_Protocols_Hooks:: +~TAO_Default_Thread_Priority_Protocols_Hooks (void) +{ +} + +int +TAO_Default_Thread_Priority_Protocols_Hooks::get_thread_CORBA_priority ( + CORBA::Short & + ACE_ENV_ARG_DECL_NOT_USED) +{ + return 0; +} + +int +TAO_Default_Thread_Priority_Protocols_Hooks::get_thread_native_priority ( + CORBA::Short & + ACE_ENV_ARG_DECL_NOT_USED) +{ + return 0; +} + +int +TAO_Default_Thread_Priority_Protocols_Hooks:: +get_thread_CORBA_and_native_priority (CORBA::Short &, + CORBA::Short & + ACE_ENV_ARG_DECL_NOT_USED) +{ + return 0; +} + +int +TAO_Default_Thread_Priority_Protocols_Hooks::set_thread_CORBA_priority ( + CORBA::Short + ACE_ENV_ARG_DECL_NOT_USED) +{ + return 0; +} + +int +TAO_Default_Thread_Priority_Protocols_Hooks::set_thread_native_priority ( + CORBA::Short + ACE_ENV_ARG_DECL_NOT_USED) +{ + return 0; +} + +TAO_END_VERSIONED_NAMESPACE_DECL + +// **************************************************************** + +ACE_STATIC_SVC_DEFINE (TAO_Default_Thread_Priority_Protocols_Hooks, + ACE_TEXT ("Thread_Priority_Protocols_Hooks"), + ACE_SVC_OBJ_T, + &ACE_SVC_NAME ( + TAO_Default_Thread_Priority_Protocols_Hooks), + ACE_Service_Type::DELETE_THIS | ACE_Service_Type::DELETE_OBJ, + 0) +ACE_FACTORY_DEFINE (TAO, TAO_Default_Thread_Priority_Protocols_Hooks) |