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

GIOP_Message_Generator_Parser_10.h

Go to the documentation of this file.
00001 
00002 // -*- C++ -*-
00003 // ===================================================================
00004 /**
00005  *  @file   GIOP_Message_Generator_Parser_10.h
00006  *
00007  *  $Id: GIOP_Message_Generator_Parser_10.h,v 1.1.1.2 2003/02/21 18:36:45 chad Exp $
00008  *
00009  *  @author Balachandran Natarajan <bala@cs.wustl.edu>
00010  */
00011 // ===================================================================
00012 
00013 #ifndef TAO_GIOP_MESSAGE_GENERATOR_PARSER_10_H
00014 #define TAO_GIOP_MESSAGE_GENERATOR_PARSER_10_H
00015 #include "ace/pre.h"
00016 #include "tao/GIOP_Message_Generator_Parser.h"
00017 
00018 
00019 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00020 # pragma once
00021 #endif /* ACE_LACKS_PRAGMA_ONCE */
00022 
00023 class TAO_GIOP_Message_State;
00024 
00025 /**
00026  * @class TAO_GIOP_Message_Generator_Parser_10
00027  *
00028  * @brief Implementation for GIOP v1.0
00029  *
00030  */
00031 
00032 class TAO_Export TAO_GIOP_Message_Generator_Parser_10:
00033   public TAO_GIOP_Message_Generator_Parser
00034 {
00035 public:
00036 
00037   /// Write the request header in to <msg>
00038   virtual int write_request_header (
00039       const TAO_Operation_Details &opdetails,
00040       TAO_Target_Specification &spec,
00041       TAO_OutputCDR &msg
00042     );
00043 
00044   /// Write the LocateRequest header
00045   virtual int write_locate_request_header (
00046       CORBA::ULong request_id,
00047       TAO_Target_Specification &spec,
00048       TAO_OutputCDR &msg
00049     );
00050 
00051   /// Write the reply header in to <output>
00052   virtual int write_reply_header (
00053       TAO_OutputCDR &output,
00054       TAO_Pluggable_Reply_Params_Base &reply
00055       ACE_ENV_ARG_DECL
00056     )
00057     ACE_THROW_SPEC ((CORBA::SystemException));
00058 
00059   /// Writes the locate _reply message in to the <output>
00060   virtual int write_locate_reply_mesg (
00061       TAO_OutputCDR &output,
00062       CORBA::ULong request_id,
00063       TAO_GIOP_Locate_Status_Msg &status
00064     );
00065 
00066   /// Parse the Request Header from the incoming stream. This will do a
00067   /// version specific parsing of the incoming Request header
00068   virtual int parse_request_header (TAO_ServerRequest &);
00069 
00070   /// Parse the LocateRequest Header from the incoming stream. This will do a
00071   /// version specific parsing of the incoming Request header
00072   virtual int parse_locate_header (
00073       TAO_GIOP_Locate_Request_Header &
00074     );
00075 
00076   /// Parse the reply message from the server
00077   virtual int parse_reply (TAO_InputCDR &input,
00078                            TAO_Pluggable_Reply_Params &params);
00079 
00080     /// Parse the reply message from the server
00081   virtual int parse_locate_reply (TAO_InputCDR &input,
00082                                   TAO_Pluggable_Reply_Params &params);
00083 
00084   /// Our versions
00085   virtual CORBA::Octet major_version (void);
00086   virtual CORBA::Octet minor_version (void);
00087 
00088 };
00089 
00090 
00091 #if defined (__ACE_INLINE__)
00092 # include "tao/GIOP_Message_Generator_Parser_10.inl"
00093 #endif /* __ACE_INLINE__ */
00094 
00095 #include "ace/post.h"
00096 #endif /*TAO_GIOP_MESSAGE_GENERATOR_PARSER_10_H*/

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