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

SHMIOP-specific Connector bridge for pluggable protocols. More...

#include <SHMIOP_Connector.h>

Inheritance diagram for TAO_SHMIOP_Connector:
Inheritance graph
Collaboration diagram for TAO_SHMIOP_Connector:
Collaboration graph

Public Types

typedef
TAO_Connect_Concurrency_Strategy
< TAO_SHMIOP_Connection_Handler
TAO_SHMIOP_CONNECT_CONCURRENCY_STRATEGY
 
typedef
TAO_Connect_Creation_Strategy
< TAO_SHMIOP_Connection_Handler
TAO_SHMIOP_CONNECT_CREATION_STRATEGY
 
typedef ACE_Connect_Strategy
< TAO_SHMIOP_Connection_Handler,
ACE_MEM_CONNECTOR
TAO_SHMIOP_CONNECT_STRATEGY
 
typedef ACE_Strategy_Connector
< TAO_SHMIOP_Connection_Handler,
ACE_MEM_CONNECTOR
TAO_SHMIOP_BASE_CONNECTOR
 

Public Member Functions

 TAO_SHMIOP_Connector (void)
 Constructor. More...
 
 ~TAO_SHMIOP_Connector (void)
 Default destructor. More...
 
The TAO_Connector Methods

Please check the documentation in Transport_Connector.h for details.

int open (TAO_ORB_Core *orb_core)
 
int close (void)
 
TAO_Profilecreate_profile (TAO_InputCDR &cdr)
 
virtual int check_prefix (const char *endpoint)
 
virtual char object_key_delimiter (void) const
 
- Public Member Functions inherited from TAO_Connector
 TAO_Connector (CORBA::ULong tag)
 
virtual ~TAO_Connector (void)
 
CORBA::ULong tag (void) const
 
int make_mprofile (const char *ior, TAO_MProfile &mprofile)
 
virtual TAO_Profilecorbaloc_scan (const char *ior, size_t &len)
 
virtual TAO_Transportconnect (TAO::Profile_Transport_Resolver *r, TAO_Transport_Descriptor_Interface *desc, ACE_Time_Value *timeout)
 
virtual TAO_Transportparallel_connect (TAO::Profile_Transport_Resolver *r, TAO_Transport_Descriptor_Interface *desc, ACE_Time_Value *timeout)
 

Protected Member Functions

More TAO_Connector Methods

Please check the documentation in Transport_Connector.h for details.

int set_validate_endpoint (TAO_Endpoint *endpoint)
 Cancel the passed cvs handler from the connector. More...
 
TAO_Transportmake_connection (TAO::Profile_Transport_Resolver *r, TAO_Transport_Descriptor_Interface &desc, ACE_Time_Value *timeout=0)
 Cancel the passed cvs handler from the connector. More...
 
virtual TAO_Profilemake_profile (void)
 Cancel the passed cvs handler from the connector. More...
 
int cancel_svc_handler (TAO_Connection_Handler *svc_handler)
 Cancel the passed cvs handler from the connector. More...
 
- Protected Member Functions inherited from TAO_Connector
virtual int supports_parallel_connects (void) const
 
virtual TAO_Transportmake_parallel_connection (TAO::Profile_Transport_Resolver *r, TAO_Transport_Descriptor_Interface &desc, ACE_Time_Value *timeout)
 
virtual int check_connection_closure (TAO_Connection_Handler *connection_handler)
 
virtual bool wait_for_connection_completion (TAO::Profile_Transport_Resolver *r, TAO_Transport_Descriptor_Interface &desc, TAO_Transport *&transport, ACE_Time_Value *timeout)
 
virtual bool wait_for_connection_completion (TAO::Profile_Transport_Resolver *r, TAO_Transport *&the_winner, TAO_Transport **transport, unsigned int count, TAO_LF_Multi_Event *mev, ACE_Time_Value *timeout)
 
void cleanup_pending (TAO_Transport *&the_winner, TAO_Transport **transport, unsigned int count)
 
bool new_connection_is_ok (size_t busy_count)
 
bool wait_for_transport (TAO::Profile_Transport_Resolver *r, TAO_Transport *base_transport, ACE_Time_Value *timeout, bool force_wait)
 
void orb_core (TAO_ORB_Core *orb_core)
 
int create_connect_strategy (void)
 
TAO_ORB_Coreorb_core (void)
 

Private Member Functions

TAO_SHMIOP_Endpointremote_endpoint (TAO_Endpoint *ep)
 Return the remote endpoint, a helper function. More...
 

Private Attributes

ACE_MEM_Addr address_
 Local address. More...
 
TAO_SHMIOP_CONNECT_STRATEGY connect_strategy_
 Our connect strategy. More...
 
TAO_SHMIOP_BASE_CONNECTOR base_connector_
 The connector initiating connection requests for SHMIOP. More...
 

Additional Inherited Members

- Protected Attributes inherited from TAO_Connector
TAO_Connect_Strategyactive_connect_strategy_
 

Detailed Description

SHMIOP-specific Connector bridge for pluggable protocols.

Concrete instance of the TAO_Connector class. Responsible for establishing a connection with a server and is called from the Connector_Registory.

Member Typedef Documentation

Constructor & Destructor Documentation

TAO_SHMIOP_Connector::TAO_SHMIOP_Connector ( void  )

Constructor.

TAO_SHMIOP_Connector::~TAO_SHMIOP_Connector ( void  )

Default destructor.

Member Function Documentation

int TAO_SHMIOP_Connector::cancel_svc_handler ( TAO_Connection_Handler svc_handler)
protectedvirtual

Cancel the passed cvs handler from the connector.

Implements TAO_Connector.

int TAO_SHMIOP_Connector::check_prefix ( const char *  endpoint)
virtual

Our activation strategy

Implements TAO_Connector.

int TAO_SHMIOP_Connector::close ( void  )
virtual

Our activation strategy

Implements TAO_Connector.

TAO_Profile * TAO_SHMIOP_Connector::create_profile ( TAO_InputCDR cdr)
virtual

Our activation strategy

Implements TAO_Connector.

TAO_Transport * TAO_SHMIOP_Connector::make_connection ( TAO::Profile_Transport_Resolver r,
TAO_Transport_Descriptor_Interface desc,
ACE_Time_Value timeout = 0 
)
protectedvirtual

Cancel the passed cvs handler from the connector.

Implements TAO_Connector.

TAO_Profile * TAO_SHMIOP_Connector::make_profile ( void  )
protectedvirtual

Cancel the passed cvs handler from the connector.

Implements TAO_Connector.

char TAO_SHMIOP_Connector::object_key_delimiter ( void  ) const
virtual

Our activation strategy

Implements TAO_Connector.

int TAO_SHMIOP_Connector::open ( TAO_ORB_Core orb_core)
virtual

Our activation strategy

Implements TAO_Connector.

TAO_SHMIOP_Endpoint * TAO_SHMIOP_Connector::remote_endpoint ( TAO_Endpoint ep)
private

Return the remote endpoint, a helper function.

int TAO_SHMIOP_Connector::set_validate_endpoint ( TAO_Endpoint endpoint)
protectedvirtual

Cancel the passed cvs handler from the connector.

Implements TAO_Connector.

Member Data Documentation

ACE_MEM_Addr TAO_SHMIOP_Connector::address_
private

Local address.

TAO_SHMIOP_BASE_CONNECTOR TAO_SHMIOP_Connector::base_connector_
private

The connector initiating connection requests for SHMIOP.

TAO_SHMIOP_CONNECT_STRATEGY TAO_SHMIOP_Connector::connect_strategy_
private

Our connect strategy.


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