diff options
Diffstat (limited to 'TAO/tao/Transport_Connector.h')
-rw-r--r-- | TAO/tao/Transport_Connector.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/TAO/tao/Transport_Connector.h b/TAO/tao/Transport_Connector.h index 73347185874..e05a3c1eed3 100644 --- a/TAO/tao/Transport_Connector.h +++ b/TAO/tao/Transport_Connector.h @@ -75,12 +75,22 @@ public: CORBA::ULong tag (void) const; /// Parse a string containing a URL style IOR and return an - /// MProfile. + /// MProfile. Verify that ior is in the correct format. int make_mprofile ( const char *ior, TAO_MProfile &mprofile ACE_ENV_ARG_DECL); + /// Helper function to assist corbaloc parsing. The default simply validates + /// the protocol identifyier and scans up to the next comma or slash. + /// Any protocol that has a specific need, such as uiop, can override this + /// method to provide a custom scanner. + /// The profile returned is either null if this the ior does not match or an + /// empty profile of the correct type, obtained from make_profile(). + virtual TAO_Profile * corbaloc_scan (const char *ior, + size_t &len + ACE_ENV_ARG_DECL); + /// Initialize object and register with reactor. virtual int open ( TAO_ORB_Core *orb_core) = 0; |