Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# TAO_Protocols_Hooks Class Reference

`#include <Protocols_Hooks.h>`

Inheritance diagram for TAO_Protocols_Hooks:

[legend]
Collaboration diagram for TAO_Protocols_Hooks:

[legend]
List of all members.

## Public Methods
virtual | ~TAO_Protocols_Hooks (void)
| destructor. More...
virtual void | init_hooks (TAO_ORB_Core *orb_core ACE_ENV_ARG_DECL)=0
| Initialize the protocols hooks instance. More...
virtual int | call_client_protocols_hook (int &send_buffer_size, int &recv_buffer_size, int &no_delay, const char *protocol_type)=0
virtual int | call_server_protocols_hook (int &send_buffer_size, int &recv_buffer_size, int &no_delay, const char *protocol_type)=0
virtual void | rt_service_context (TAO_Stub *stub, TAO_Service_Context &service_context, CORBA::Boolean restart ACE_ENV_ARG_DECL)=0
virtual void | add_rt_service_context_hook (TAO_Service_Context &service_context, CORBA::Policy *model_policy, CORBA::Short &client_priority ACE_ENV_ARG_DECL)=0
virtual void | get_selector_hook (CORBA::Policy *model_policy, CORBA::Boolean &is_client_propagated, CORBA::Short &server_priority)=0
virtual void | get_selector_bands_policy_hook (CORBA::Policy *bands_policy, CORBA::Short &min_priority, CORBA::Short &max_priority, CORBA::Short &p, int &in_range)=0
virtual int | set_default_policies (ACE_ENV_SINGLE_ARG_DECL)=0
| Sets the default_policies for ORB. 1. Sets ORB-level policy defaults for this ORB. Currently sets default RTCORBA policies: ClientProtocolPolicy. More...
virtual int | set_default_server_protocol_policy (TAO_Acceptor_Registry &acceptor_registry ACE_ENV_ARG_DECL)=0
| Sets the default ServerProtocolPolicy. More...
virtual int | get_thread_CORBA_priority (CORBA::Short &ACE_ENV_ARG_DECL_NOT_USED)=0
virtual int | get_thread_native_priority (CORBA::Short &ACE_ENV_ARG_DECL_NOT_USED)=0
virtual int | get_thread_CORBA_and_native_priority (CORBA::Short &, CORBA::Short &ACE_ENV_ARG_DECL_NOT_USED)=0
virtual int | set_thread_CORBA_priority (CORBA::Short ACE_ENV_ARG_DECL_NOT_USED)=0
virtual int | set_thread_native_priority (CORBA::Short ACE_ENV_ARG_DECL_NOT_USED)=0

## Constructor & Destructor Documentation

TAO_Protocols_Hooks::~TAO_Protocols_Hooks | ( | void |  | ) | `[virtual]`

| destructor.

## Member Function Documentation

virtual void TAO_Protocols_Hooks::add_rt_service_context_hook | ( | TAO_Service_Context & | service_context,
|  | CORBA::Policy * | model_policy,
|  | CORBA::Short &client_priority | ACE_ENV_ARG_DECL
| ) | `[pure virtual]`

| Reimplemented in TAO_Default_Protocols_Hooks.

virtual int TAO_Protocols_Hooks::call_client_protocols_hook | ( | int & | send_buffer_size,
|  | int & | recv_buffer_size,
|  | int & | no_delay,
|  | const char * | protocol_type
| ) | `[pure virtual]`

| Reimplemented in TAO_Default_Protocols_Hooks.

virtual int TAO_Protocols_Hooks::call_server_protocols_hook | ( | int & | send_buffer_size,
|  | int & | recv_buffer_size,
|  | int & | no_delay,
|  | const char * | protocol_type
| ) | `[pure virtual]`

| Reimplemented in TAO_Default_Protocols_Hooks.

virtual void TAO_Protocols_Hooks::get_selector_bands_policy_hook | ( | CORBA::Policy * | bands_policy,
|  | CORBA::Short & | min_priority,
|  | CORBA::Short & | max_priority,
|  | CORBA::Short & | p,
|  | int & | in_range
| ) | `[pure virtual]`

| Reimplemented in TAO_Default_Protocols_Hooks.

virtual void TAO_Protocols_Hooks::get_selector_hook | ( | CORBA::Policy * | model_policy,
|  | CORBA::Boolean & | is_client_propagated,
|  | CORBA::Short & | server_priority
| ) | `[pure virtual]`

| Reimplemented in TAO_Default_Protocols_Hooks.

virtual int TAO_Protocols_Hooks::get_thread_CORBA_and_native_priority | ( | CORBA::Short & | ,
|  | CORBA::Short & | ACE_ENV_ARG_DECL_NOT_USED
| ) | `[pure virtual]`

| Reimplemented in TAO_Default_Protocols_Hooks.

virtual int TAO_Protocols_Hooks::get_thread_CORBA_priority | ( | CORBA::Short & | ACE_ENV_ARG_DECL_NOT_USED | ) | `[pure virtual]`

| Accessor and modifier to the current thread priority, used to implement the RTCORBA::Current interface, but it is faster for some critical components. If the RTCORBA library isn't used, these operations are no-ops. Reimplemented in TAO_Default_Protocols_Hooks.

virtual int TAO_Protocols_Hooks::get_thread_native_priority | ( | CORBA::Short & | ACE_ENV_ARG_DECL_NOT_USED | ) | `[pure virtual]`

| Reimplemented in TAO_Default_Protocols_Hooks.

virtual void TAO_Protocols_Hooks::init_hooks | ( | TAO_ORB_Core *orb_core | ACE_ENV_ARG_DECL | ) | `[pure virtual]`

| Initialize the protocols hooks instance. Reimplemented in TAO_Default_Protocols_Hooks.

virtual void TAO_Protocols_Hooks::rt_service_context | ( | TAO_Stub * | stub,
|  | TAO_Service_Context & | service_context,
|  | CORBA::Boolean | ACE_ENV_ARG_DECL_NOT_USED
| ) | `[pure virtual]`

| Reimplemented in TAO_Default_Protocols_Hooks.

virtual int TAO_Protocols_Hooks::set_default_policies | ( | ACE_ENV_SINGLE_ARG_DECL |  | ) | `[pure virtual]`

| Sets the default_policies for ORB. 1. Sets ORB-level policy defaults for this ORB. Currently sets default RTCORBA policies: ClientProtocolPolicy. Reimplemented in TAO_Default_Protocols_Hooks.

virtual int TAO_Protocols_Hooks::set_default_server_protocol_policy | ( | TAO_Acceptor_Registry &acceptor_registry | ACE_ENV_ARG_DECL | ) | `[pure virtual]`

| Sets the default ServerProtocolPolicy. Reimplemented in TAO_Default_Protocols_Hooks.

virtual int TAO_Protocols_Hooks::set_thread_CORBA_priority | ( | CORBA::Short | ACE_ENV_ARG_DECL_NOT_USED | ) | `[pure virtual]`

| Reimplemented in TAO_Default_Protocols_Hooks.

virtual int TAO_Protocols_Hooks::set_thread_native_priority | ( | CORBA::Short | ACE_ENV_ARG_DECL_NOT_USED | ) | `[pure virtual]`

| Reimplemented in TAO_Default_Protocols_Hooks.

The documentation for this class was generated from the following files:

- Protocols_Hooks.h
- Protocols_Hooks.cpp