#include <GIOP_Message_Base.h>
Inheritance diagram for TAO_GIOP_Message_Base:
This class will hold the specific details common to all the GIOP versions. Some of them which are here may be shifted if things start changing between versions. This class uses the TAO_GIOP_Message_Reactive_Handler to read and parse messages.
|
Constructor.
|
|
Dtor.
|
|
Consolidate fragmented message with associated fragments, being stored withi this class. If reliable transport is used (like TCP) fragments are partialy ordered on stack, last fragment on top. Otherwise If un-reliable transport is used (like UDP) fragments may be dis-ordered, and must be ordered before consolidation.
Implements TAO_Pluggable_Messaging. |
|
Check whether the node qd needs consolidation from incoming.
Implements TAO_Pluggable_Messaging. |
|
Discard all fragments associated to request-id encoded in cancel_request. This operation will never be called concurrently by multiplpe threads nor concurrently to consolidate_fragmented_message
Implements TAO_Pluggable_Messaging. |
|
Print out a debug messages..
|
|
Extract the details of the next message from the incoming through qd. Returns 0 if the message header could not be parsed completely, returns a 1 if the message header could be parsed completely and returns -1 on error. Implements TAO_Pluggable_Messaging. |
|
Format the message. As we have not written the message length in the header, we make use of this oppurtunity to insert and format the message. Implements TAO_Pluggable_Messaging. |
|
The header length of a fragment.
Implements TAO_Pluggable_Messaging. |
|
Generate a reply message with the exception ex.
Implements TAO_Pluggable_Messaging. |
|
Write the locate reply header.
Implements TAO_Pluggable_Messaging. |
|
Write the RequestHeader in to the cdr stream.
Implements TAO_Pluggable_Messaging. |
|
Write the reply header.
Implements TAO_Pluggable_Messaging. |
|
Write the RequestHeader in to the cdr stream. The underlying implementation of the mesaging should do the right thing. Implements TAO_Pluggable_Messaging. |
|
Header length.
Implements TAO_Pluggable_Messaging. |
|
Initialize the underlying state object based on the major and minor revision numbers Implements TAO_Pluggable_Messaging. |
|
Initialize the TAO_Queued_Data from the relevant portions of a GIOP_Message_State. |
|
Is the messaging object ready for processing BiDirectional request/response? Implements TAO_Pluggable_Messaging. |
|
Creates a new node for the queue with a message block in the node of size sz. |
|
Make a GIOP_LOCATEREPLY and hand that over to the transport so that it can be sent over the connection.
|
|
Get the message type. The return value would be one of the following: TAO_PLUGGABLE_MESSAGE_REQUEST, TAO_PLUGGABLE_MESSAGE_REPLY, TAO_PLUGGABLE_MESSAGE_CLOSECONNECTION, TAO_PLUGGABLE_MESSAGE_MESSAGE_ERROR. |
|
Accessor for the output CDR stream.
Implements TAO_Pluggable_Messaging. |
|
|
|
Parse the details of the next message from the incoming and initializes attributes of qd. Returns 0 if the message header could not be parsed completely, returns a 1 if the message header could be parsed completely and returns -1 on error. Implements TAO_Pluggable_Messaging. |
|
Parse GIOP request-id of TAO_InputCDR cdr.
|
|
Parse GIOP request-id of TAO_Queued_Data qd
|
|
Processes the GIOP_LOCATE_REQUEST messages.
|
|
Parse the reply message that we received and return the reply information through reply_info Implements TAO_Pluggable_Messaging. |
|
Processes the GIOP_REQUEST messages.
|
|
Process the request message that we have received on the connection Implements TAO_Pluggable_Messaging. |
|
Reset the messaging the object.
Implements TAO_Pluggable_Messaging. |
|
Close a connection, first sending GIOP::CloseConnection.
|
|
Send error messages.
|
|
We must send a LocateReply through transport, this request resulted in some kind of exception. |
|
Set the state.
|
|
Writes the GIOP header in to msg
|
|
Buffer used for both the output and input CDR streams, this is "safe" because we only one of the streams at a time. |
|
All Fragments being received are stored on stack in reverse order, last top |
|
The message handler object that does reading and parsing of the incoming messages |
|
Cached ORB_Core pointer...
|
|
Buffer where the request is placed.
|
|
All the implementations of GIOP message generator and parsers.
|