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

TAO_GIOP_Message_Generator_Parser_12 Class Reference

Implementation for GIOP v1.2. More...

#include <GIOP_Message_Generator_Parser_12.h>

Inheritance diagram for TAO_GIOP_Message_Generator_Parser_12:

Inheritance graph
[legend]
Collaboration diagram for TAO_GIOP_Message_Generator_Parser_12:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual int write_request_header (const TAO_Operation_Details &opdetails, TAO_Target_Specification &spec, TAO_OutputCDR &msg)
 Write the request header in to <msg>.

virtual int write_locate_request_header (CORBA::ULong request_id, TAO_Target_Specification &spec, TAO_OutputCDR &msg)
 Write the LocateRequest header.

virtual int write_reply_header (TAO_OutputCDR &output, TAO_Pluggable_Reply_Params_Base &reply ACE_ENV_ARG_DECL) throw (CORBA::SystemException)
 Write the reply header in to <output>.

virtual int write_locate_reply_mesg (TAO_OutputCDR &output, CORBA::ULong request_id, TAO_GIOP_Locate_Status_Msg &status)
 Writes the locate _reply message in to the <output>.

virtual int parse_request_header (TAO_ServerRequest &)
virtual int parse_locate_header (TAO_GIOP_Locate_Request_Header &)
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.

virtual CORBA::Octet major_version (void)
 Our versions.

virtual CORBA::Octet minor_version (void)
virtual int is_ready_for_bidirectional (void)

Private Methods

int marshall_target_spec (TAO_Target_Specification &spec, TAO_OutputCDR &msg)
 Marshall the TargetSpecification.

int check_bidirectional_context (TAO_ServerRequest &)
int process_bidir_context (TAO_Service_Context &, TAO_Transport *transport)
 Process the BiDirContext info that we have received.


Detailed Description

Implementation for GIOP v1.2.


Member Function Documentation

int TAO_GIOP_Message_Generator_Parser_12::check_bidirectional_context TAO_ServerRequest   [private]
 

Check whether we have BiDirContext info available. If available delegate the responsibility on to the TAO_Transport classes to initiate action. Note: At somepoint this may be needed for future versions of GIOP and we may have to share this

int TAO_GIOP_Message_Generator_Parser_12::is_ready_for_bidirectional void    [virtual]
 

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

Reimplemented from TAO_GIOP_Message_Generator_Parser.

CORBA::Octet TAO_GIOP_Message_Generator_Parser_12::major_version void    [virtual]
 

Our versions.

Implements TAO_GIOP_Message_Generator_Parser.

int TAO_GIOP_Message_Generator_Parser_12::marshall_target_spec TAO_Target_Specification   spec,
TAO_OutputCDR   msg
[private]
 

Marshall the TargetSpecification.

This method may be required for other GIOP versiona coming out later than 1.2. We need to share this method

CORBA::Octet TAO_GIOP_Message_Generator_Parser_12::minor_version void    [virtual]
 

Implements TAO_GIOP_Message_Generator_Parser.

int TAO_GIOP_Message_Generator_Parser_12::parse_locate_header TAO_GIOP_Locate_Request_Header   [virtual]
 

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

Implements TAO_GIOP_Message_Generator_Parser.

int TAO_GIOP_Message_Generator_Parser_12::parse_locate_reply TAO_InputCDR   input,
TAO_Pluggable_Reply_Params   params
[virtual]
 

Parse the locate reply message.

Reimplemented from TAO_GIOP_Message_Generator_Parser.

int TAO_GIOP_Message_Generator_Parser_12::parse_reply TAO_InputCDR   input,
TAO_Pluggable_Reply_Params   params
[virtual]
 

Parse the reply message.

Reimplemented from TAO_GIOP_Message_Generator_Parser.

int TAO_GIOP_Message_Generator_Parser_12::parse_request_header TAO_ServerRequest   [virtual]
 

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

Implements TAO_GIOP_Message_Generator_Parser.

int TAO_GIOP_Message_Generator_Parser_12::process_bidir_context TAO_Service_Context  ,
TAO_Transport   transport
[private]
 

Process the BiDirContext info that we have received.

int TAO_GIOP_Message_Generator_Parser_12::write_locate_reply_mesg TAO_OutputCDR   output,
CORBA::ULong    request_id,
TAO_GIOP_Locate_Status_Msg   status
[virtual]
 

Writes the locate _reply message in to the <output>.

Implements TAO_GIOP_Message_Generator_Parser.

int TAO_GIOP_Message_Generator_Parser_12::write_locate_request_header CORBA::ULong    request_id,
TAO_Target_Specification   spec,
TAO_OutputCDR   msg
[virtual]
 

Write the LocateRequest header.

Implements TAO_GIOP_Message_Generator_Parser.

int TAO_GIOP_Message_Generator_Parser_12::write_reply_header TAO_OutputCDR   output,
TAO_Pluggable_Reply_Params_Base &reply    ACE_ENV_ARG_DECL
throw (CORBA::SystemException) [virtual]
 

Write the reply header in to <output>.

Implements TAO_GIOP_Message_Generator_Parser.

int TAO_GIOP_Message_Generator_Parser_12::write_request_header const TAO_Operation_Details   opdetails,
TAO_Target_Specification   spec,
TAO_OutputCDR   msg
[virtual]
 

Write the request header in to <msg>.

Implements TAO_GIOP_Message_Generator_Parser.


The documentation for this class was generated from the following files:
Generated on Wed Jan 14 23:26:51 2004 for TAO by doxygen1.2.18