#include <GIOP_Message_State.h>
Collaboration diagram for TAO_GIOP_Message_State:

Public Member Functions | |
| TAO_GIOP_Message_State (void) | |
| Ctor.   | |
| int | parse_message_header (ACE_Message_Block &incoming) | 
| CORBA::ULong | message_size (void) const | 
| Return the message size.   | |
| CORBA::ULong | payload_size (void) const | 
| Return the message size.   | |
| CORBA::Octet | byte_order (void) const | 
| Return the byte order information.   | |
| void | reset (void) | 
| Reset the state..   | |
Private Member Functions | |
| int | parse_message_header_i (ACE_Message_Block &incoming) | 
| Parse the message header.   | |
| int | parse_magic_bytes (char *buf) | 
| int | get_version_info (char *buf) | 
| int | get_byte_order_info (char *buf) | 
| void | get_payload_size (char *buf) | 
| Gets the size of the payload and set the size in the <state>.   | |
| CORBA::ULong | read_ulong (const char *buf) const | 
Private Attributes | |
| TAO_GIOP_Message_Version | giop_version_ | 
| CORBA::Octet | byte_order_ | 
| 0 = big, 1 = little   | |
| CORBA::Octet | message_type_ | 
| MsgType above.   | |
| CORBA::ULong | message_size_ | 
| in byte_order!   | |
| CORBA::Octet | more_fragments_ | 
| CORBA::ULong | missing_data_ | 
| Missing data.   | |
Friends | |
| class | TAO_GIOP_Message_Base | 
This helps to establish the state of the incoming messages.
      
  | 
  
| 
 Ctor. 
  | 
  
      
  | 
  
| 
 Return the byte order information. 
  | 
  
      
  | 
  
| 
 Extracts the byte order information from the incoming stream. Performs a check for whether the byte order information right and sets the information in the <state>  | 
  
      
  | 
  
| 
 Gets the size of the payload and set the size in the <state>. 
  | 
  
      
  | 
  
| 
 Extracts the version information from the incoming stream. Performs a check for whether the version information is right and sets the information in the <state>  | 
  
      
  | 
  
| 
 Return the message size. 
  | 
  
      
  | 
  
| 
 Checks for the magic word 'GIOP' in the start of the incoing stream  | 
  
      
  | 
  
| 
 Parse the message header. 
  | 
  
      
  | 
  
| 
 Parse the message header. 
  | 
  
      
  | 
  
| 
 Return the message size. 
  | 
  
      
  | 
  
| 
 Read the unsigned long from the buffer. The <buf> should just point to the next 4 bytes data that represent the ULong  | 
  
      
  | 
  
| 
 Reset the state.. 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 0 = big, 1 = little 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 in byte_order! 
  | 
  
      
  | 
  
| 
 MsgType above. 
  | 
  
      
  | 
  
| 
 Missing data. 
  | 
  
      
  | 
  
| 
 (Requests and Replys) A value of zero indicates that this message does not have any fragments. A value of non-zero indicates that it does have fragments.  | 
  
 1.3.9.1