TAO_PortableGroup  2.1.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Types | Private Attributes
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

List of all members.

Public Member Functions

 TAO_MIOP_Resource_Factory (void)
 Constructor.
virtual ~TAO_MIOP_Resource_Factory (void)
 Destructor.
Service Configurator Hooks
virtual int init (int argc, ACE_TCHAR *argv[])
 Dynamic linking hook.
Member Accessors
TAO_PG::Fragments_Cleanup_Strategyfragments_cleanup_strategy (void) const
 Get Maximum number of fragments allowed.
u_long max_fragments (void) const
 Get Maximum number of fragments allowed.
u_long max_fragment_size (void) const
 Get MTU value (roughly).
u_long max_fragment_rate (void) const
 Get time required for transfering one maximum sized fragment.
u_long send_hi_water_mark (void) const
 Get number of bytes that can be sent without delay.
u_long send_buffer_size (void) const
 Get the desired socket transmit buffer's size in bytes (Zero is unspecified).
u_long receive_buffer_size (void) const
 Get the desired socket receive buffer's size in bytes (Zero is unspecified).
- Public Member Functions inherited from ACE_Service_Object
 ACE_Service_Object (ACE_Reactor *=0)
virtual ~ACE_Service_Object (void)
virtual int suspend (void)
virtual int resume (void)
virtual ~ACE_Event_Handler (void)
virtual ACE_HANDLE get_handle (void) const
virtual void set_handle (ACE_HANDLE)
virtual int priority (void) const
virtual void priority (int priority)
virtual int handle_input (ACE_HANDLE fd=ACE_INVALID_HANDLE)
virtual int handle_output (ACE_HANDLE fd=ACE_INVALID_HANDLE)
virtual int handle_exception (ACE_HANDLE fd=ACE_INVALID_HANDLE)
virtual int handle_timeout (const ACE_Time_Value &current_time, const void *act=0)
virtual int handle_exit (ACE_Process *)
virtual int handle_close (ACE_HANDLE handle, ACE_Reactor_Mask close_mask)
virtual int handle_signal (int signum, siginfo_t *=0, ucontext_t *=0)
virtual int resume_handler (void)
virtual int handle_qos (ACE_HANDLE=ACE_INVALID_HANDLE)
virtual int handle_group_qos (ACE_HANDLE=ACE_INVALID_HANDLE)
virtual void reactor (ACE_Reactor *reactor)
virtual ACE_Reactorreactor (void) const
virtual
ACE_Reactor_Timer_Interface
reactor_timer_interface (void) const
virtual Reference_Count add_reference (void)
virtual Reference_Count remove_reference (void)
Reference_Counting_Policyreference_counting_policy (void)
 ACE_Shared_Object (void)
virtual ~ACE_Shared_Object (void)
virtual int fini (void)
virtual int info (ACE_TCHAR **info_string, size_t length=0) const

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.
u_long max_fragment_size_
 Maximum Size of a single fragment.
u_long max_fragment_rate_
 Time required for transfering one maximum sized fragment.
u_long send_hi_water_mark_
 Number of bytes that can be sent without delay.
u_long send_buffer_size_
 Get the desired socket send buffer's size in bytes.
u_long receive_buffer_size_
 Get the desired socket receive buffer's size in bytes.

Additional Inherited Members

- Public Types inherited from ACE_Service_Object
typedef long Reference_Count
- Public Types inherited from ACE_Event_Handler
- Static Public Member Functions inherited from ACE_Service_Object
static ACE_THR_FUNC_RETURN read_adapter (void *event_handler)
static int register_stdin_handler (ACE_Event_Handler *eh, ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr, int flags=THR_DETACHED)
static int remove_stdin_handler (ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr)
- Public Attributes inherited from ACE_Service_Object
 LO_PRIORITY
 HI_PRIORITY
 NULL_MASK
 READ_MASK
 WRITE_MASK
 EXCEPT_MASK
 ACCEPT_MASK
 CONNECT_MASK
 TIMER_MASK
 QOS_MASK
 GROUP_QOS_MASK
 SIGNAL_MASK
 ALL_EVENTS_MASK
 RWE_MASK
 DONT_CALL
 ACE_EVENT_HANDLER_NOT_RESUMED
 ACE_REACTOR_RESUMES_HANDLER
 ACE_APPLICATION_RESUMES_HANDLER
- Public Attributes inherited from ACE_Event_Handler
- Protected Types inherited from ACE_Service_Object
typedef ACE_Atomic_Op
< ACE_SYNCH_MUTEX,
Reference_Count
Atomic_Reference_Count
- Protected Types inherited from ACE_Event_Handler
- Protected Member Functions inherited from ACE_Service_Object
 ACE_Event_Handler (ACE_Reactor *=0, int priority=ACE_Event_Handler::LO_PRIORITY)
- Protected Attributes inherited from ACE_Service_Object
Atomic_Reference_Count reference_count_
- Protected Attributes inherited from ACE_Event_Handler

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

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.

Reimplemented from ACE_Service_Object.

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

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: