Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CORBANAME_Parser.h

Go to the documentation of this file.
00001 
00002 //=============================================================================
00003 /**
00004  *  @file   CORBANAME_Parser.h
00005  *
00006  *  $Id: CORBANAME_Parser.h,v 1.1.1.2 2003/02/21 18:36:44 chad Exp $
00007  *
00008  *  @author Priyanka Gontla (pgontla@uci.edu)
00009  */
00010 //=============================================================================
00011 
00012 
00013 #ifndef TAO_CORBANAME_PARSER_H
00014 #define TAO_CORBANAME_PARSER_H
00015 #include "ace/pre.h"
00016 
00017 #include "tao/IOR_Parser.h"
00018 
00019 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00020 # pragma once
00021 #endif /* ACE_LACKS_PRAGMA_ONCE */
00022 
00023 #include "ace/Service_Config.h"
00024 
00025 /**
00026  * @class TAO_CORBANAME_Parser
00027  *
00028  * @brief Implements the <corbaname:> IOR format
00029  *
00030  * This class implements the <corbaname:> IOR format.
00031  * It is dynamically loaded by the ORB and used to get reference
00032  * to a naming service at the given address and port and then resolve an
00033  * object in that context.
00034  */
00035 class TAO_Export TAO_CORBANAME_Parser : public TAO_IOR_Parser
00036 {
00037 public:
00038   /// Constructor
00039   TAO_CORBANAME_Parser (void);
00040 
00041   /// The destructor
00042   virtual ~TAO_CORBANAME_Parser (void);
00043 
00044   // = The IOR_Parser methods, please read the documentation in
00045   //   IOR_Parser.h
00046   virtual int match_prefix (const char *ior_string) const;
00047   virtual CORBA::Object_ptr parse_string (const char *ior,
00048                                           CORBA::ORB_ptr orb
00049                                           ACE_ENV_ARG_DECL_NOT_USED)
00050     ACE_THROW_SPEC ((CORBA::SystemException));
00051 
00052  private:
00053   virtual CORBA::Object_ptr
00054     parse_string_dynamic_request_helper (CORBA::Object_ptr naming_context,
00055                                          ACE_CString &key_string
00056                                          ACE_ENV_ARG_DECL)
00057     ACE_THROW_SPEC ((CORBA::SystemException));
00058 };
00059 
00060 #if defined (__ACE_INLINE__)
00061 # include "CORBANAME_Parser.i"
00062 #endif /* __ACE_INLINE__ */
00063 
00064 ACE_STATIC_SVC_DECLARE_EXPORT (TAO, TAO_CORBANAME_Parser)
00065 ACE_FACTORY_DECLARE (TAO, TAO_CORBANAME_Parser)
00066 
00067 #include "ace/post.h"
00068 #endif /* TAO_CORBANAME_PARSER_H */

Generated on Mon Jun 16 13:48:11 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002