TAO  2.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Private Member Functions | List of all members
TAO_CORBALOC_Parser Class Reference

Implements the <corbaloc:> IOR format. More...

#include <CORBALOC_Parser.h>

Inheritance diagram for TAO_CORBALOC_Parser:
Inheritance graph
Collaboration diagram for TAO_CORBALOC_Parser:
Collaboration graph


struct  parsed_endpoint

Public Member Functions

 TAO_CORBALOC_Parser (void)
virtual ~TAO_CORBALOC_Parser (void)
 The destructor.
virtual bool match_prefix (const char *ior_string) const
virtual CORBA::Object_ptr parse_string (const char *ior, CORBA::ORB_ptr orb)
 Parse the ior-string that is passed.
- Public Member Functions inherited from TAO_IOR_Parser
virtual ~TAO_IOR_Parser (void)
 The destructor.
- Public Member Functions inherited from ACE_Service_Object
 ACE_Service_Object (ACE_Reactor *=0)
virtual ~ACE_Service_Object (void)
virtual int suspend (void)
virtual int resume (void)
virtual ~ACE_Event_Handler (void)
virtual ACE_HANDLE get_handle (void) const
virtual void set_handle (ACE_HANDLE)
virtual int priority (void) const
virtual void priority (int priority)
virtual int handle_input (ACE_HANDLE fd=ACE_INVALID_HANDLE)
virtual int handle_output (ACE_HANDLE fd=ACE_INVALID_HANDLE)
virtual int handle_exception (ACE_HANDLE fd=ACE_INVALID_HANDLE)
virtual int handle_timeout (const ACE_Time_Value &current_time, const void *act=0)
virtual int handle_exit (ACE_Process *)
virtual int handle_close (ACE_HANDLE handle, ACE_Reactor_Mask close_mask)
virtual int handle_signal (int signum, siginfo_t *=0, ucontext_t *=0)
virtual int resume_handler (void)
virtual int handle_qos (ACE_HANDLE=ACE_INVALID_HANDLE)
virtual int handle_group_qos (ACE_HANDLE=ACE_INVALID_HANDLE)
virtual void reactor (ACE_Reactor *reactor)
virtual ACE_Reactorreactor (void) const
reactor_timer_interface (void) const
virtual Reference_Count add_reference (void)
virtual Reference_Count remove_reference (void)
Reference_Counting_Policyreference_counting_policy (void)
 ACE_Shared_Object (void)
virtual ~ACE_Shared_Object (void)
virtual int init (int argc, ACE_TCHAR *argv[])
virtual int fini (void)
virtual int info (ACE_TCHAR **info_string, size_t length=0) const
- Public Member Functions inherited from ACE_Event_Handler
Reference_Counting_Policyreference_counting_policy (void)
- Public Member Functions inherited from ACE_Shared_Object
 ACE_Shared_Object (void)

Private Member Functions

CORBA::Object_ptr make_stub_from_mprofile (CORBA::ORB_ptr orb, TAO_MProfile &mprofile)
CORBA::Object_ptr parse_string_rir_helper (const char *corbaloc_name, CORBA::ORB_ptr orb)
 Gets the pointer to the key_string when the protocol used is RIR.
void make_canonical (const char *ior, size_t ior_len, ACE_CString &canonical_endpoint)

Additional Inherited Members

- Public Types inherited from ACE_Service_Object
typedef long Reference_Count
- Static Public Member Functions inherited from ACE_Service_Object
static ACE_THR_FUNC_RETURN read_adapter (void *event_handler)
static int register_stdin_handler (ACE_Event_Handler *eh, ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr, int flags=THR_DETACHED)
static int remove_stdin_handler (ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr)
- Public Attributes inherited from ACE_Service_Object
- Protected Types inherited from ACE_Service_Object
typedef ACE_Atomic_Op
- Protected Member Functions inherited from ACE_Service_Object
 ACE_Event_Handler (ACE_Reactor *=0, int priority=ACE_Event_Handler::LO_PRIORITY)
- Protected Attributes inherited from ACE_Service_Object
Atomic_Reference_Count reference_count_

Detailed Description

Implements the <corbaloc:> IOR format.

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 & Destructor Documentation

TAO_CORBALOC_Parser::TAO_CORBALOC_Parser ( void  )


TAO_CORBALOC_Parser::~TAO_CORBALOC_Parser ( void  )

The destructor.

Member Function Documentation

void TAO_CORBALOC_Parser::make_canonical ( const char *  ior,
size_t  ior_len,
ACE_CString canonical_endpoint 
CORBA::Object_ptr TAO_CORBALOC_Parser::make_stub_from_mprofile ( CORBA::ORB_ptr  orb,
TAO_MProfile mprofile 

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.

All is well, so release the stub object from its auto_ptr.

Return the object reference to the application.

Shouldnt come here: if so, return nil reference.

bool TAO_CORBALOC_Parser::match_prefix ( const char *  ior_string) const

= The IOR_Parser methods, please read the documentation in IOR_Parser.h

Implements TAO_IOR_Parser.

CORBA::Object_ptr TAO_CORBALOC_Parser::parse_string ( const char *  ior,
CORBA::ORB_ptr  orb 

Parse the ior-string that is passed.

Implements TAO_IOR_Parser.

CORBA::Object_ptr TAO_CORBALOC_Parser::parse_string_rir_helper ( const char *  corbaloc_name,
CORBA::ORB_ptr  orb 

Gets the pointer to the key_string when the protocol used is RIR.

The documentation for this class was generated from the following files: