#include <Connector_Registry.h>
Collaboration diagram for TAO_Connector_Registry:
Public Methods | |
TAO_Connector_Registry (void) | |
Default constructor. More... | |
~TAO_Connector_Registry (void) | |
Default destructor. More... | |
TAO_Connector * | get_connector (CORBA::ULong tag) |
Return the connector bridges. More... | |
TAO_Connector * | get_connector (TAO_Endpoint *ep) |
int | open (TAO_ORB_Core *orb_core) |
Initialize all registered connectors. More... | |
int | close_all (void) |
Close all open connectors. More... | |
int | connect (TAO_GIOP_Invocation *invocation, TAO_Transport_Descriptor_Interface *desc ACE_ENV_ARG_DECL) |
@ todo: This method needs to be removed. More... | |
int | make_mprofile (const char *ior, TAO_MProfile &mprofile ACE_ENV_ARG_DECL) |
Parse a string containing a URL style IOR and return an MProfile. More... | |
TAO_Profile * | create_profile (TAO_InputCDR &cdr) |
Create a profile based on the contents of <cdr>. More... | |
char | object_key_delimiter (const char *ior) |
Obtain the object key delimiter used by the protocol specified in the provided URL style IOR. More... | |
TAO_ConnectorSetIterator | begin (void) |
TAO_ConnectorSetIterator | end (void) |
Private Methods | |
TAO_Connector_Registry (const TAO_Connector_Registry &) | |
void | operator= (const TAO_Connector_Registry &) |
Private Attributes | |
TAO_Connector ** | connectors_ |
List of connectors that are currently open. More... | |
size_t | size_ |
Number of connectors that are currently open. More... |
Connector Registry and Generic Connector interface definitions. All loaded ESIOP or GIOP connector bridges must register with this object. This class is able to dynamically load a set of concrete protocol connectors which have registered with the service configurator and added their Factory name to the Resource_Factory line of the svc.conf file.
|
Default constructor.
|
|
Default destructor.
|
|
|
|
|
|
Close all open connectors.
|
|
@ todo: This method needs to be removed. There should be no need for the registry to establish connections. This is where the transport protocol is selected based on some policy. This member will call the connect member of the TAO_Connector class which in turn will call the concrete connector. |
|
Create a profile based on the contents of <cdr>.
|
|
|
|
|
|
Return the connector bridges.
|
|
Parse a string containing a URL style IOR and return an MProfile.
|
|
Obtain the object key delimiter used by the protocol specified in the provided URL style IOR.
|
|
Initialize all registered connectors.
|
|
|
|
List of connectors that are currently open.
|
|
Number of connectors that are currently open.
|