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

TAO_SCIOP_Connector Class Reference

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

#include <SCIOP_Connector.h>

Inheritance diagram for TAO_SCIOP_Connector:

Inheritance graph
[legend]
Collaboration diagram for TAO_SCIOP_Connector:

Collaboration graph
[legend]
List of all members.

Public Types

typedef TAO_Connect_Concurrency_Strategy<
TAO_SCIOP_Connection_Handler
TAO_SCIOP_CONNECT_CONCURRENCY_STRATEGY
typedef TAO_Connect_Creation_Strategy<
TAO_SCIOP_Connection_Handler
TAO_SCIOP_CONNECT_CREATION_STRATEGY
typedef ACE_Connect_Strategy<
TAO_SCIOP_Connection_Handler,
ACE_SOCK_SEQPACK_CONNECTOR
TAO_SCIOP_CONNECT_STRATEGY
typedef ACE_Strategy_Connector<
TAO_SCIOP_Connection_Handler,
ACE_SOCK_SEQPACK_CONNECTOR
TAO_SCIOP_BASE_CONNECTOR

Public Methods

 TAO_SCIOP_Connector (CORBA::Boolean flag=0)
 Constructor.

 ~TAO_SCIOP_Connector (void)
 Destructor.

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

Protected Methods

int set_validate_endpoint (TAO_Endpoint *ep)
TAO_Transportmake_connection (TAO::Profile_Transport_Resolver *r, TAO_Transport_Descriptor_Interface &desc, ACE_Time_Value *timeout=0)
virtual TAO_Profilemake_profile (ACE_ENV_SINGLE_ARG_DECL)
int init_tcp_properties (void)

Protected Attributes

TAO_SCIOP_Properties tcp_properties_
CORBA::Boolean lite_flag_
 Do we need to use a GIOP_Lite for sending messages?


Private Methods

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

TAO_Transportmake_connection_i (TAO_Transport_Descriptor_Interface &desc, ACE_Time_Value *timeout, TAO_SCIOP_Endpoint *sciop_endpoint)
 Try to make a connection to the next endpoint in the list.


Private Attributes

TAO_SCIOP_CONNECT_STRATEGY connect_strategy_
 Our connect strategy.

TAO_SCIOP_BASE_CONNECTOR base_connector_
 The connector initiating connection requests for SCIOP.


Detailed Description

SCIOP-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

typedef ACE_Strategy_Connector<TAO_SCIOP_Connection_Handler, ACE_SOCK_SEQPACK_CONNECTOR> TAO_SCIOP_Connector::TAO_SCIOP_BASE_CONNECTOR
 

typedef TAO_Connect_Concurrency_Strategy<TAO_SCIOP_Connection_Handler> TAO_SCIOP_Connector::TAO_SCIOP_CONNECT_CONCURRENCY_STRATEGY
 

typedef TAO_Connect_Creation_Strategy<TAO_SCIOP_Connection_Handler> TAO_SCIOP_Connector::TAO_SCIOP_CONNECT_CREATION_STRATEGY
 

typedef ACE_Connect_Strategy<TAO_SCIOP_Connection_Handler, ACE_SOCK_SEQPACK_CONNECTOR> TAO_SCIOP_Connector::TAO_SCIOP_CONNECT_STRATEGY
 


Constructor & Destructor Documentation

TAO_SCIOP_Connector::TAO_SCIOP_Connector CORBA::Boolean    flag = 0
 

Constructor.

TAO_SCIOP_Connector::~TAO_SCIOP_Connector void   
 

Destructor.


Member Function Documentation

int TAO_SCIOP_Connector::check_prefix const char *    endpoint [virtual]
 

Implements TAO_Connector.

int TAO_SCIOP_Connector::close void    [virtual]
 

Implements TAO_Connector.

TAO_Profile * TAO_SCIOP_Connector::create_profile TAO_InputCDR   cdr [virtual]
 

Implements TAO_Connector.

int TAO_SCIOP_Connector::init_tcp_properties void    [protected]
 

Obtain tcp properties that must be used by this connector, i.e., initialize <tcp_properties_>.

TAO_Transport * TAO_SCIOP_Connector::make_connection TAO::Profile_Transport_Resolver   r,
TAO_Transport_Descriptor_Interface   desc,
ACE_Time_Value   timeout = 0
[protected, virtual]
 

Implements TAO_Connector.

TAO_Transport * TAO_SCIOP_Connector::make_connection_i TAO_Transport_Descriptor_Interface   desc,
ACE_Time_Value   timeout,
TAO_SCIOP_Endpoint   sciop_endpoint
[private]
 

Try to make a connection to the next endpoint in the list.

TAO_Profile * TAO_SCIOP_Connector::make_profile ACE_ENV_SINGLE_ARG_DECL    [protected, virtual]
 

More TAO_Connector methods, please check the documentation on Transport_Connector.h

Implements TAO_Connector.

char TAO_SCIOP_Connector::object_key_delimiter void    const [virtual]
 

Implements TAO_Connector.

int TAO_SCIOP_Connector::open TAO_ORB_Core   orb_core [virtual]
 

Implements TAO_Connector.

TAO_SCIOP_Endpoint * TAO_SCIOP_Connector::remote_endpoint TAO_Endpoint   ep [private]
 

Return the remote endpoint, a helper function.

int TAO_SCIOP_Connector::set_validate_endpoint TAO_Endpoint   ep [protected, virtual]
 

Implements TAO_Connector.


Member Data Documentation

TAO_SCIOP_BASE_CONNECTOR TAO_SCIOP_Connector::base_connector_ [private]
 

The connector initiating connection requests for SCIOP.

TAO_SCIOP_CONNECT_STRATEGY TAO_SCIOP_Connector::connect_strategy_ [private]
 

Our connect strategy.

CORBA::Boolean TAO_SCIOP_Connector::lite_flag_ [protected]
 

Do we need to use a GIOP_Lite for sending messages?

TAO_SCIOP_Properties TAO_SCIOP_Connector::tcp_properties_ [protected]
 

TCP configuration properties to be used for all connections established by this connector.


The documentation for this class was generated from the following files:
Generated on Fri Apr 2 18:54:52 2004 for TAO_Strategies by doxygen1.2.18