diff options
Diffstat (limited to 'TAO/tao/RTPortableServer/RT_POA.h')
-rw-r--r-- | TAO/tao/RTPortableServer/RT_POA.h | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/TAO/tao/RTPortableServer/RT_POA.h b/TAO/tao/RTPortableServer/RT_POA.h index 89654538476..befde6060d5 100644 --- a/TAO/tao/RTPortableServer/RT_POA.h +++ b/TAO/tao/RTPortableServer/RT_POA.h @@ -39,6 +39,10 @@ #pragma warning(disable:4250) #endif /* _MSC_VER */ +class TAO_Thread_Pool; +class TAO_Thread_Lane; +class TAO_PriorityBandedConnectionPolicy; + class TAO_RTPortableServer_Export TAO_RT_POA : public virtual RTPortableServer::POA, public virtual TAO_POA @@ -262,6 +266,8 @@ public: virtual ~TAO_RT_POA (void); + void *thread_pool (void) const; + protected: /// Template method for creating new POA's of this type. @@ -280,8 +286,8 @@ protected: CORBA::Short priority, CORBA_Environment &ACE_TRY_ENV); - void valid_priority (RTCORBA::Priority priority, - CORBA_Environment &ACE_TRY_ENV); + void validate_priority (RTCORBA::Priority priority, + CORBA_Environment &ACE_TRY_ENV); void validate_policies (CORBA::Environment &ACE_TRY_ENV); @@ -290,6 +296,20 @@ protected: void parse_rt_policies (TAO_POA_Policy_Set &policies, CORBA::Environment &ACE_TRY_ENV); + size_t endpoint_count (void); + + TAO_Stub *create_stub_object (const TAO_ObjectKey &object_key, + const char *type_id, + CORBA::PolicyList *policy_list, + TAO_Acceptor_Filter *filter, + TAO_PriorityBandedConnectionPolicy *priority_bands, + CORBA::Environment &ACE_TRY_ENV); + + int lane_required (TAO_Thread_Lane *lane, + TAO_PriorityBandedConnectionPolicy *priority_bands); + + TAO_Thread_Pool *thread_pool_; + }; #if defined(_MSC_VER) && (_MSC_VER >= 1200) |