HTTP_Parser.h

Go to the documentation of this file.
00001 
00002 /* -*- C++ -*- */
00003 
00004 //=============================================================================
00005 /**
00006  *  @file   HTTP_Parser.h
00007  *
00008  *  $Id: HTTP_Parser.h 79237 2007-08-07 09:48:21Z johnnyw $
00009  *
00010  *  @author Johnny Willemsen  <jwillemsen@remedy.nl>
00011  */
00012 //=============================================================================
00013 
00014 
00015 #ifndef TAO_HTTP_PARSER_H
00016 #define TAO_HTTP_PARSER_H
00017 
00018 #include /**/ "ace/pre.h"
00019 #include "ace/Service_Config.h"
00020 
00021 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00022 # pragma once
00023 #endif /* ACE_LACKS_PRAGMA_ONCE */
00024 
00025 #include "tao/IOR_Parser.h"
00026 
00027 #if (TAO_HAS_HTTP_PARSER == 1)
00028 
00029 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00030 
00031 /**
00032  * @class TAO_HTTP_Parser
00033  *
00034  * @brief Implements the <http:> IOR format
00035  *
00036  * This class implements the <http:> IOR format.
00037  * It is dynamically loaded by the ORB and used to get an IOR
00038  * from a http server and then interprete the data as an IOR (that
00039  * can be in any valid format).
00040  */
00041 class TAO_HTTP_Parser : public TAO_IOR_Parser
00042 {
00043 public:
00044 
00045   /// The destructor
00046   virtual ~TAO_HTTP_Parser (void);
00047 
00048   // = The IOR_Parser methods, please read the documentation in
00049   //   IOR_Parser.h
00050   virtual bool match_prefix (const char *ior_string) const;
00051   virtual CORBA::Object_ptr parse_string (const char *ior, CORBA::ORB_ptr orb);
00052 };
00053 
00054 TAO_END_VERSIONED_NAMESPACE_DECL
00055 
00056 ACE_STATIC_SVC_DECLARE_EXPORT (TAO, TAO_HTTP_Parser)
00057 ACE_FACTORY_DECLARE (TAO, TAO_HTTP_Parser)
00058 
00059 #endif /* TAO_HAS_HTTP_PARSER == 1 */
00060 
00061 #include /**/ "ace/post.h"
00062 #endif /* TAO_HTTP_PARSER_H */
00063 

Generated on Tue Feb 2 17:37:52 2010 for TAO by  doxygen 1.4.7