Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TAO_IIOP_Connector Class Reference

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

#include <IIOP_Connector.h>

Inheritance diagram for TAO_IIOP_Connector:

Inheritance graph
[legend]
Collaboration diagram for TAO_IIOP_Connector:

Collaboration graph
[legend]
List of all members.

Public Types

typedef TAO_Connect_Concurrency_Strategy<
TAO_IIOP_Connection_Handler
TAO_IIOP_CONNECT_CONCURRENCY_STRATEGY
typedef TAO_Connect_Creation_Strategy<
TAO_IIOP_Connection_Handler
TAO_IIOP_CONNECT_CREATION_STRATEGY
typedef ACE_Connect_Strategy<
TAO_IIOP_Connection_Handler,
ACE_SOCK_CONNECTOR
TAO_IIOP_CONNECT_STRATEGY
typedef ACE_Strategy_Connector<
TAO_IIOP_Connection_Handler,
ACE_SOCK_CONNECTOR
TAO_IIOP_BASE_CONNECTOR

Public Member Functions

 TAO_IIOP_Connector (CORBA::Boolean flag=0)
 Constructor.
 ~TAO_IIOP_Connector (void)
 Destructor.
int open (TAO_ORB_Core *orb_core)
int close (void)
 Shutdown Connector bridge and concrete Connector.
TAO_Profilecreate_profile (TAO_InputCDR &cdr)
virtual int check_prefix (const char *endpoint)
virtual char object_key_delimiter (void) const
 Return the object key delimiter to use or expect.

Protected Member Functions

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)
 Make a connection.
virtual TAO_Profilemake_profile (ACE_ENV_SINGLE_ARG_DECL)
virtual int cancel_svc_handler (TAO_Connection_Handler *svc_handler)
 Cancel the passed cvs handler from the connector.

Protected Attributes

const bool lite_flag_
 Do we need to use a GIOP_Lite for sending messages?

Private Member Functions

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

Private Attributes

TAO_IIOP_CONNECT_STRATEGY connect_strategy_
 Our connect strategy.
TAO_IIOP_BASE_CONNECTOR base_connector_
 The connector initiating connection requests for IIOP.

Detailed Description

IIOP-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_IIOP_Connection_Handler, ACE_SOCK_CONNECTOR> TAO_IIOP_Connector::TAO_IIOP_BASE_CONNECTOR
 

typedef TAO_Connect_Concurrency_Strategy<TAO_IIOP_Connection_Handler> TAO_IIOP_Connector::TAO_IIOP_CONNECT_CONCURRENCY_STRATEGY
 

typedef TAO_Connect_Creation_Strategy<TAO_IIOP_Connection_Handler> TAO_IIOP_Connector::TAO_IIOP_CONNECT_CREATION_STRATEGY
 

typedef ACE_Connect_Strategy<TAO_IIOP_Connection_Handler, ACE_SOCK_CONNECTOR> TAO_IIOP_Connector::TAO_IIOP_CONNECT_STRATEGY
 


Constructor & Destructor Documentation

TAO_IIOP_Connector::TAO_IIOP_Connector CORBA::Boolean  flag = 0  ) 
 

Constructor.

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_IIOP_Connector::~TAO_IIOP_Connector void   ) 
 

Destructor.


Member Function Documentation

int TAO_IIOP_Connector::cancel_svc_handler TAO_Connection_Handler svc_handler  )  [protected, virtual]
 

Cancel the passed cvs handler from the connector.

Implements TAO_Connector.

int TAO_IIOP_Connector::check_prefix const char *  endpoint  )  [virtual]
 

Check that the prefix of the provided endpoint is valid for use with a given pluggable protocol.

Implements TAO_Connector.

int TAO_IIOP_Connector::close void   )  [virtual]
 

Shutdown Connector bridge and concrete Connector.

Implements TAO_Connector.

TAO_Profile * TAO_IIOP_Connector::create_profile TAO_InputCDR cdr  )  [virtual]
 

Create a profile for this protocol and initialize it based on the encapsulation in cdr

Implements TAO_Connector.

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

Make a connection.

Implements TAO_Connector.

TAO_Profile * TAO_IIOP_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_IIOP_Connector::object_key_delimiter void   )  const [virtual]
 

Return the object key delimiter to use or expect.

Implements TAO_Connector.

int TAO_IIOP_Connector::open TAO_ORB_Core orb_core  )  [virtual]
 

Our connect creation strategy

Our activation strategy

Implements TAO_Connector.

TAO_IIOP_Endpoint * TAO_IIOP_Connector::remote_endpoint TAO_Endpoint ep  )  [private]
 

Return the remote endpoint, a helper function.

int TAO_IIOP_Connector::set_validate_endpoint TAO_Endpoint ep  )  [protected, virtual]
 

Set and validate endpoint. We need to do this to initialize our remote *_Addr's which have not been done during IOR decode.

Implements TAO_Connector.


Member Data Documentation

TAO_IIOP_BASE_CONNECTOR TAO_IIOP_Connector::base_connector_ [private]
 

The connector initiating connection requests for IIOP.

TAO_IIOP_CONNECT_STRATEGY TAO_IIOP_Connector::connect_strategy_ [private]
 

Our connect strategy.

const bool TAO_IIOP_Connector::lite_flag_ [protected]
 

Do we need to use a GIOP_Lite for sending messages?


The documentation for this class was generated from the following files:
Generated on Tue Dec 20 23:27:47 2005 for TAO by  doxygen 1.3.9.1