TAO  2.1.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions
TAO_GIOP_Message_Generator_Parser Class Reference

Base class for the GIOP Message generator and parser. More...

#include <GIOP_Message_Generator_Parser.h>

Inheritance diagram for TAO_GIOP_Message_Generator_Parser:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~TAO_GIOP_Message_Generator_Parser (void)
virtual bool write_request_header (const TAO_Operation_Details &opdetails, TAO_Target_Specification &spec, TAO_OutputCDR &msg)=0
 Write the request header in to msg.
virtual bool write_locate_request_header (CORBA::ULong request_id, TAO_Target_Specification &spec, TAO_OutputCDR &msg)=0
 Write the LocateRequest header.
virtual bool write_reply_header (TAO_OutputCDR &output, TAO_Pluggable_Reply_Params_Base &reply)=0
 Write the reply header in to output.
virtual bool write_locate_reply_mesg (TAO_OutputCDR &output, CORBA::ULong request_id, TAO_GIOP_Locate_Status_Msg &status)=0
 Writes the locate _reply message in to the output.
virtual bool write_fragment_header (TAO_OutputCDR &cdr, CORBA::ULong request_id)=0
virtual int parse_request_header (TAO_ServerRequest &)=0
virtual int parse_locate_header (TAO_GIOP_Locate_Request_Header &)=0
virtual int parse_reply (TAO_InputCDR &input, TAO_Pluggable_Reply_Params &params)
 Parse the reply message.
virtual int parse_locate_reply (TAO_InputCDR &input, TAO_Pluggable_Reply_Params &params)
 Parse the locate reply message from the server.
virtual CORBA::Octet major_version (void) const =0
 Our versions.
virtual CORBA::Octet minor_version (void) const =0
virtual bool is_ready_for_bidirectional (void) const
virtual size_t fragment_header_length (void) const =0
 The header length of a fragment.

Detailed Description

Base class for the GIOP Message generator and parser.

Version specific classes would inherit from this class. Strategy to determine which version of the GIOP request have we received and which version do we need to use to send messages.


Constructor & Destructor Documentation


Member Function Documentation

virtual size_t TAO_GIOP_Message_Generator_Parser::fragment_header_length ( void  ) const
pure virtual

The header length of a fragment.

Implemented in TAO_GIOP_Message_Generator_Parser_12, and TAO_GIOP_Message_Generator_Parser_10.

Is the messaging object ready for processing BiDirectional request/response?

Reimplemented in TAO_GIOP_Message_Generator_Parser_12.

virtual CORBA::Octet TAO_GIOP_Message_Generator_Parser::major_version ( void  ) const
pure virtual
virtual CORBA::Octet TAO_GIOP_Message_Generator_Parser::minor_version ( void  ) const
pure virtual

Parse the Locate Request Header from the incoming stream. This will do a version specific parsing of the incoming Request header

Implemented in TAO_GIOP_Message_Generator_Parser_12, and TAO_GIOP_Message_Generator_Parser_10.

Parse the locate reply message from the server.

Reimplemented in TAO_GIOP_Message_Generator_Parser_12, and TAO_GIOP_Message_Generator_Parser_10.

Parse the reply message.

Reimplemented in TAO_GIOP_Message_Generator_Parser_12, and TAO_GIOP_Message_Generator_Parser_10.

Parse the Request Header from the incoming stream. This will do a version specific parsing of the incoming Request header

Implemented in TAO_GIOP_Message_Generator_Parser_12, and TAO_GIOP_Message_Generator_Parser_10.

virtual bool TAO_GIOP_Message_Generator_Parser::write_fragment_header ( TAO_OutputCDR cdr,
CORBA::ULong  request_id 
)
pure virtual

Write the GIOP fragment message header to the output CDR stream cdr.

Implemented in TAO_GIOP_Message_Generator_Parser_12, and TAO_GIOP_Message_Generator_Parser_10.

virtual bool TAO_GIOP_Message_Generator_Parser::write_locate_reply_mesg ( TAO_OutputCDR output,
CORBA::ULong  request_id,
TAO_GIOP_Locate_Status_Msg status 
)
pure virtual

Writes the locate _reply message in to the output.

Implemented in TAO_GIOP_Message_Generator_Parser_12, and TAO_GIOP_Message_Generator_Parser_10.

Write the LocateRequest header.

Implemented in TAO_GIOP_Message_Generator_Parser_12, and TAO_GIOP_Message_Generator_Parser_10.

Write the reply header in to output.

Implemented in TAO_GIOP_Message_Generator_Parser_12, and TAO_GIOP_Message_Generator_Parser_10.

virtual bool TAO_GIOP_Message_Generator_Parser::write_request_header ( const TAO_Operation_Details opdetails,
TAO_Target_Specification spec,
TAO_OutputCDR msg 
)
pure virtual

Write the request header in to msg.

Implemented in TAO_GIOP_Message_Generator_Parser_12, and TAO_GIOP_Message_Generator_Parser_10.


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