#include <CORBALOC_Parser.h>
Inheritance diagram for TAO_CORBALOC_Parser:
Public Methods | |
TAO_CORBALOC_Parser (void) | |
Constructor. More... | |
virtual | ~TAO_CORBALOC_Parser (void) |
The destructor. More... | |
virtual int | match_prefix (const char *ior_string) const |
= The IOR_Parser methods, please read the documentation in IOR_Parser.h. More... | |
virtual CORBA::Object_ptr | parse_string (const char *ior, CORBA::ORB_ptr orb ACE_ENV_ARG_DECL_NOT_USED) throw (CORBA::SystemException) |
Parse the ior-string that is passed. More... | |
Private Methods | |
virtual int | check_prefix (const char *endpoint ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
Checks the prefix to see if it is RIR. More... | |
virtual void | parse_string_count_helper (const char *corbaloc_name, CORBA::ULong &addr_list_length, CORBA::ULong &count_addr ACE_ENV_ARG_DECL_NOT_USED) throw (CORBA::SystemException) |
Helps count the length of the <obj_addr_list> and the number of individual <obj_addr> in the <obj_addr_list>. More... | |
virtual void | parse_string_mprofile_helper (const char *end_point, CORBA::ORB_ptr orb, TAO_MProfile &mprofile ACE_ENV_ARG_DECL_NOT_USED) throw (CORBA::SystemException) |
Creates a MProfile for the endpoint passed and each such mprofile is added to the big mprofile <mprofile_> from which a pointer to the Object represented by the key_string is obtained and passed to the application. More... | |
virtual CORBA::Object_ptr | make_stub_from_mprofile (CORBA::ORB_ptr orb, TAO_MProfile &mprofile ACE_ENV_ARG_DECL_NOT_USED) throw (CORBA::SystemException) |
Make a stub from the MProfile that is created in parse_string_mprofile_helper. More... | |
virtual CORBA::Object_ptr | parse_string_rir_helper (const char *&corbaloc_name, CORBA::ORB_ptr orb ACE_ENV_ARG_DECL_NOT_USED) throw (CORBA::SystemException) |
Gets the pointer to the key_string when the protocol used is RIR. More... | |
virtual void | parse_string_assign_helper (CORBA::ULong &addr_list_length, ACE_CString &key_string, ACE_CString &cloc_name, CORBA::ORB_ptr orb, TAO_MProfile &mprofile ACE_ENV_ARG_DECL_NOT_USED) throw (CORBA::SystemException) |
Tokenizes the <obj_addr_list> using "," as the seperator. Assigns individual endpoints to the elements of the ACE_Array_Base. More... | |
virtual void | assign_key_string (char *&cloc_name_ptr, ACE_CString &key_string, CORBA::ULong &addr_list_length, CORBA::ORB_ptr orb, TAO_MProfile &mprofile ACE_ENV_ARG_DECL_NOT_USED) throw (CORBA::SystemException) |
Helps parse_string_assign_helper by assigning in the case when the protocol name is present and we have to append jsut the key string. More... |
This class implements the <corbaloc:> IOR format. It is dynamically loaded by the ORB and used to parse the string to separate the individual <obj_addr> from the list of object addresses <obj_addr_list>.
|
Constructor.
|
|
The destructor.
|
|
Helps parse_string_assign_helper by assigning in the case when the protocol name is present and we have to append jsut the key string.
|
|
Checks the prefix to see if it is RIR.
|
|
Make a stub from the MProfile that is created in parse_string_mprofile_helper. Using this stub, create an object reference which is sent to the application. |
|
= The IOR_Parser methods, please read the documentation in IOR_Parser.h.
Reimplemented from TAO_IOR_Parser. |
|
Parse the ior-string that is passed.
Reimplemented from TAO_IOR_Parser. |
|
Tokenizes the <obj_addr_list> using "," as the seperator. Assigns individual endpoints to the elements of the ACE_Array_Base.
|
|
Helps count the length of the <obj_addr_list> and the number of individual <obj_addr> in the <obj_addr_list>.
|
|
Creates a MProfile for the endpoint passed and each such mprofile is added to the big mprofile <mprofile_> from which a pointer to the Object represented by the key_string is obtained and passed to the application.
|
|
Gets the pointer to the key_string when the protocol used is RIR.
|