TAO_PortableGroup  2.2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Types | Private Attributes | List of all members
TAO_MIOP_Resource_Factory Class Reference

TAO's MIOP resource factory. More...

#include <miop_resource.h>

Inheritance diagram for TAO_MIOP_Resource_Factory:
Inheritance graph
Collaboration diagram for TAO_MIOP_Resource_Factory:
Collaboration graph

Public Member Functions

 TAO_MIOP_Resource_Factory (void)
 Constructor. More...
 
virtual ~TAO_MIOP_Resource_Factory (void)
 Destructor. More...
 
bool enable_throttling (void) const
 Get the client-side transmission rate throttling enable flag. More...
 
bool enable_eager_dequeue (void) const
 Get the server-side eager complete message dequeuing enable flag. More...
 
Service Configurator Hooks
virtual int init (int argc, ACE_TCHAR *argv[])
 Dynamic linking hook. More...
 
Member Accessors
TAO_PG::Fragments_Cleanup_Strategyfragments_cleanup_strategy (void) const
 Get Maximum number of fragments allowed. More...
 
u_long max_fragments (void) const
 Get Maximum number of fragments allowed. More...
 
u_long max_fragment_size (void) const
 Get MTU value (roughly). More...
 
u_long max_fragment_rate (void) const
 Get time required for transfering one maximum sized fragment. More...
 
u_long send_hi_water_mark (void) const
 Get number of bytes that can be sent without delay. More...
 
u_long send_buffer_size (void) const
 Get the desired socket transmit buffer's size in bytes (Zero is unspecified). More...
 
u_long receive_buffer_size (void) const
 Get the desired socket receive buffer's size in bytes (Zero is unspecified). More...
 

Private Types

enum  Fragments_Cleanup_Strategy_Type { TAO_MIOP_CLEANUP_TIME_BOUND, TAO_MIOP_CLEANUP_NUMBER_BOUND, TAO_MIOP_CLEANUP_MEMORY_BOUND }
 

Private Attributes

Fragments_Cleanup_Strategy_Type fragments_cleanup_strategy_type_
 
int fragments_cleanup_bound_
 
TAO_PG::Fragments_Cleanup_Strategyfragments_cleanup_strategy_
 
u_long max_fragments_
 Maximum number of fragments. More...
 
u_long max_fragment_size_
 Maximum Size of a single fragment. More...
 
u_long max_fragment_rate_
 Time required for transfering one maximum sized fragment. More...
 
u_long send_hi_water_mark_
 Number of bytes that can be sent without delay. More...
 
u_long send_buffer_size_
 Get the desired socket send buffer's size in bytes. More...
 
u_long receive_buffer_size_
 Get the desired socket receive buffer's size in bytes. More...
 
bool enable_throttling_
 Get the client-side transmission rate throttling enable flag. More...
 
bool enable_eager_dequeue_
 Get the server-side eager complete message dequeuing enable flag. More...
 

Detailed Description

TAO's MIOP resource factory.

Using a <{resource source specifier}> as a discriminator, the factory can return resource instances which are, e.g., global, stored in thread-specific storage, stored in shared memory, etc.

Member Enumeration Documentation

Enumerator
TAO_MIOP_CLEANUP_TIME_BOUND 
TAO_MIOP_CLEANUP_NUMBER_BOUND 
TAO_MIOP_CLEANUP_MEMORY_BOUND 

Constructor & Destructor Documentation

TAO_MIOP_Resource_Factory::TAO_MIOP_Resource_Factory ( void  )

Constructor.

TAO_MIOP_Resource_Factory::~TAO_MIOP_Resource_Factory ( void  )
virtual

Destructor.

Member Function Documentation

bool TAO_MIOP_Resource_Factory::enable_eager_dequeue ( void  ) const

Get the server-side eager complete message dequeuing enable flag.

bool TAO_MIOP_Resource_Factory::enable_throttling ( void  ) const

Get the client-side transmission rate throttling enable flag.

TAO_PG::Fragments_Cleanup_Strategy * TAO_MIOP_Resource_Factory::fragments_cleanup_strategy ( void  ) const

Get Maximum number of fragments allowed.

int TAO_MIOP_Resource_Factory::init ( int  argc,
ACE_TCHAR argv[] 
)
virtual

Dynamic linking hook.

u_long TAO_MIOP_Resource_Factory::max_fragment_rate ( void  ) const

Get time required for transfering one maximum sized fragment.

u_long TAO_MIOP_Resource_Factory::max_fragment_size ( void  ) const

Get MTU value (roughly).

u_long TAO_MIOP_Resource_Factory::max_fragments ( void  ) const

Get Maximum number of fragments allowed.

u_long TAO_MIOP_Resource_Factory::receive_buffer_size ( void  ) const

Get the desired socket receive buffer's size in bytes (Zero is unspecified).

u_long TAO_MIOP_Resource_Factory::send_buffer_size ( void  ) const

Get the desired socket transmit buffer's size in bytes (Zero is unspecified).

u_long TAO_MIOP_Resource_Factory::send_hi_water_mark ( void  ) const

Get number of bytes that can be sent without delay.

Member Data Documentation

bool TAO_MIOP_Resource_Factory::enable_eager_dequeue_
private

Get the server-side eager complete message dequeuing enable flag.

bool TAO_MIOP_Resource_Factory::enable_throttling_
private

Get the client-side transmission rate throttling enable flag.

int TAO_MIOP_Resource_Factory::fragments_cleanup_bound_
private
TAO_PG::Fragments_Cleanup_Strategy* TAO_MIOP_Resource_Factory::fragments_cleanup_strategy_
mutableprivate
Fragments_Cleanup_Strategy_Type TAO_MIOP_Resource_Factory::fragments_cleanup_strategy_type_
private
u_long TAO_MIOP_Resource_Factory::max_fragment_rate_
private

Time required for transfering one maximum sized fragment.

u_long TAO_MIOP_Resource_Factory::max_fragment_size_
private

Maximum Size of a single fragment.

u_long TAO_MIOP_Resource_Factory::max_fragments_
private

Maximum number of fragments.

u_long TAO_MIOP_Resource_Factory::receive_buffer_size_
private

Get the desired socket receive buffer's size in bytes.

u_long TAO_MIOP_Resource_Factory::send_buffer_size_
private

Get the desired socket send buffer's size in bytes.

u_long TAO_MIOP_Resource_Factory::send_hi_water_mark_
private

Number of bytes that can be sent without delay.


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