TAO::Profile_Transport_Resolver Class ReferenceChooses the profile and a transport for a target object on which an invocation can be made. More...
Collaboration diagram for TAO::Profile_Transport_Resolver:
Detailed DescriptionChooses the profile and a transport for a target object on which an invocation can be made.A target object is represented by multiple profiles, which theoretically provides multiple paths to the same target object. This class helps in choosing the right profile, and pick a transport from cache (or create a new transport if needed) that represents the profile. Constructor & Destructor Documentation
Constructor. With block we tell whether this resolved should always deliver a connection by blocking or unblock before the connection is completely established. Please note that this has *nothing* to do with the synchronous or asynch connect strategy used for making connections. This is a local flag used by the clients of this to dictate some local behavior.
Member Function Documentation
Method where the bunch of the action takes place. This is the entry point from the TAO::Invocation_Adapter class. This method accesses the endpoint selector factory from the ORB_Core to decide on the strategy to be used for selecting the profile.
Mutator for profile.
Accessor for profile.
Accessor for the target in use.
Accessor for the transport reserved for this invocation.
See if the transport cache has an available transport and use that one rather than trying to connect via the connector. Separating this functionality enables the look up of many endpoints before trying the more time-consuming trip through the actual connector.
Accessor to indicate whether we should block while establishing a connection.
Signal to let the resolver know that the transport has been released back to the cache.
This is a callback method used by the endpoint selectors to delegate the responsibility of reserving a transport from the connection cache for this invocation. When the descriptor contains more than one endpoint (as part of a linked list) and the parallel flag is true then the connector will look for a connection on any of the endpoints if it supports that behavior, otherwise an ENOTSUP errno will be set and the method will return false.
This method wraps a call to the orb core to see if parallel connection attempts are even desired. This is controlled by the -ORBUseParallelConnects 1|0 commandline option.
Initialize the inconsistent policy list that this object has cached.
Helper method to access get the connection timeout from the ORB.
Member Data Documentation
Target object.
Stub object for the target object.
The transport selected for this invocation. Using the wrapper guard ensures it is available for use with the Transport Current interfaces.
The profile that has been selected for this invocation.
List of inconsistent policies. If current effective policies cause the invocation to raise CORBA::INV_POLICY exception, the conflicting/problematic policies are stored in this list. This is used by
Has the transport been idle?
Should we block while trying to make a connection.
The documentation for this class was generated from the following files: Generated on Mon Sep 15 07:44:49 2008 for TAO by 1.5.5 |