TAO_RTEvent  2.1.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions
TAO_EC_Gateway_IIOP_Factory Class Reference

Factory for the EC_Gateway_IIOP settings. More...

#include <EC_Gateway_IIOP_Factory.h>

Inheritance diagram for TAO_EC_Gateway_IIOP_Factory:
Inheritance graph
Collaboration diagram for TAO_EC_Gateway_IIOP_Factory:
Collaboration graph

List of all members.

Public Member Functions

 TAO_EC_Gateway_IIOP_Factory (void)
virtual ~TAO_EC_Gateway_IIOP_Factory (void)
TAO_ECG_ConsumerEC_Controlcreate_consumerec_control (TAO_EC_Gateway_IIOP *gateway)
 Create the consumer event channel control.
void destroy_consumerec_control (TAO_ECG_ConsumerEC_Control *x)
 Destroy consumer event channel control.
int use_ttl (void) const
 Accessors to use_ttl flag.
int use_consumer_proxy_map (void) const
 Accessors to use_consumer_proxy_map flag.
virtual int init (int argc, ACE_TCHAR *argv[])
 The Service_Object entry points.
virtual int fini (void)
 The Service_Object entry points.
- 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 info (ACE_TCHAR **info_string, size_t length=0) const

Static Public Member Functions

static int init_svcs (void)
- 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)

Protected Attributes

ACE_CString orbid_
 Use this ORB to locate global resources.
int consumer_ec_control_
 The control policy for the consumer event channel.
int consumer_ec_control_period_
 The consumer event channel control periods in usecs.
ACE_Time_Value consumer_ec_control_timeout_
 The control timeout in usecs for the consumer event channel.
int use_ttl_
int use_consumer_proxy_map_
- Protected Attributes inherited from ACE_Service_Object
Atomic_Reference_Count reference_count_
- Protected Attributes inherited from ACE_Event_Handler

Private Member Functions

void unsupported_option_value (const ACE_TCHAR *option_name, const ACE_TCHAR *option_value)

Additional Inherited Members

- Public Types inherited from ACE_Service_Object
typedef long Reference_Count
- Public Types inherited from ACE_Event_Handler
- 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)

Detailed Description

Factory for the EC_Gateway_IIOP settings.

Default configuration values can be found in ECG_Defaults.h


Constructor & Destructor Documentation

TAO_EC_Gateway_IIOP_Factory::TAO_EC_Gateway_IIOP_Factory ( void  )
TAO_EC_Gateway_IIOP_Factory::~TAO_EC_Gateway_IIOP_Factory ( void  )
virtual

Member Function Documentation

TAO_ECG_ConsumerEC_Control * TAO_EC_Gateway_IIOP_Factory::create_consumerec_control ( TAO_EC_Gateway_IIOP gateway)

Create the consumer event channel control.

void TAO_EC_Gateway_IIOP_Factory::destroy_consumerec_control ( TAO_ECG_ConsumerEC_Control x)

Destroy consumer event channel control.

int TAO_EC_Gateway_IIOP_Factory::fini ( void  )
virtual

The Service_Object entry points.

Reimplemented from ACE_Service_Object.

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

The Service_Object entry points.

Reimplemented from ACE_Service_Object.

int TAO_EC_Gateway_IIOP_Factory::init_svcs ( void  )
static

Helper function to register the Gateway into the service configurator.

void TAO_EC_Gateway_IIOP_Factory::unsupported_option_value ( const ACE_TCHAR option_name,
const ACE_TCHAR option_value 
)
private

Helper for agrument parsing. Prints out an error message about unsupported option value.

int TAO_EC_Gateway_IIOP_Factory::use_consumer_proxy_map ( void  ) const

Accessors to use_consumer_proxy_map flag.

int TAO_EC_Gateway_IIOP_Factory::use_ttl ( void  ) const

Accessors to use_ttl flag.


Member Data Documentation

int TAO_EC_Gateway_IIOP_Factory::consumer_ec_control_
protected

The control policy for the consumer event channel.

int TAO_EC_Gateway_IIOP_Factory::consumer_ec_control_period_
protected

The consumer event channel control periods in usecs.

ACE_Time_Value TAO_EC_Gateway_IIOP_Factory::consumer_ec_control_timeout_
protected

The control timeout in usecs for the consumer event channel.

ACE_CString TAO_EC_Gateway_IIOP_Factory::orbid_
protected

Use this ORB to locate global resources.

int TAO_EC_Gateway_IIOP_Factory::use_consumer_proxy_map_
protected

The flag for using the consumer proxy map. With 1 the consumer proxy map is used, meaning that for each unique source id we use a different proxy push consumer, if 0, we only use one proxy push consumer for all source ids.

int TAO_EC_Gateway_IIOP_Factory::use_ttl_
protected

If 1, we use the TTL flags, if 0, we just ignore TTL.

Note:
When this flag is set to 0, make sure that no recursive structures exists in the gateway setup for the same source/type combination, else one event will flow continuosly through all gateways.

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