TAO_GIOP_Message_Version Class Reference

Major and Minor version number of the Inter-ORB Protocol. More...

#include <GIOP_Message_Version.h>

List of all members.

Public Member Functions

CORBA::Octet major_version (void) const
 Get major version number.

CORBA::Octet minor_version (void) const
 Get minor version number.

 TAO_GIOP_Message_Version (const TAO_GIOP_Message_Version &src)
 Copy constructor.

 TAO_GIOP_Message_Version (CORBA::Octet maj=TAO_DEF_GIOP_MAJOR, CORBA::Octet min=TAO_DEF_GIOP_MINOR)
 Default constructor.

void set_version (CORBA::Octet maj, CORBA::Octet min)
 Explicitly set the major and minor version.

TAO_GIOP_Message_Versionoperator= (const TAO_GIOP_Message_Version &src)
 Copy operator.

bool operator== (const TAO_GIOP_Message_Version &src) const
 Equality operator.

bool operator!= (const TAO_GIOP_Message_Version &src) const

Public Attributes

CORBA::Octet major
 Major version number.

CORBA::Octet minor
 Minor version number.


Detailed Description

Major and Minor version number of the Inter-ORB Protocol.

Definition at line 39 of file GIOP_Message_Version.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE TAO_GIOP_Message_Version::TAO_GIOP_Message_Version const TAO_GIOP_Message_Version src  ) 
 

Copy constructor.

Definition at line 8 of file GIOP_Message_Version.inl.

00010   : major (src.major),
00011     minor (src.minor)
00012 {
00013 }

ACE_INLINE TAO_GIOP_Message_Version::TAO_GIOP_Message_Version CORBA::Octet  maj = TAO_DEF_GIOP_MAJOR,
CORBA::Octet  min = TAO_DEF_GIOP_MINOR
 

Default constructor.

Definition at line 16 of file GIOP_Message_Version.inl.

00018   : major (maj),
00019     minor (min)
00020 {
00021 }


Member Function Documentation

ACE_INLINE CORBA::Octet TAO_GIOP_Message_Version::major_version void   )  const
 

Get major version number.

Definition at line 56 of file GIOP_Message_Version.inl.

Referenced by TAO_GIOP_Message_Base::consolidate_fragmented_message(), TAO_GIOP_Message_Base::discard_fragmented_message(), TAO_GIOP_Message_Base::parse_request_id(), TAO_GIOP_Message_Base::process_reply_message(), and TAO_GIOP_Message_Base::process_request_message().

00057 {
00058   return this->major;
00059 }

ACE_INLINE CORBA::Octet TAO_GIOP_Message_Version::minor_version void   )  const
 

Get minor version number.

Definition at line 62 of file GIOP_Message_Version.inl.

Referenced by TAO_GIOP_Message_Base::consolidate_fragmented_message(), TAO_GIOP_Message_Base::discard_fragmented_message(), TAO_GIOP_Message_Base::parse_request_id(), TAO_GIOP_Message_Base::process_reply_message(), and TAO_GIOP_Message_Base::process_request_message().

00063 {
00064   return this->minor;
00065 }

ACE_INLINE bool TAO_GIOP_Message_Version::operator!= const TAO_GIOP_Message_Version src  )  const
 

Definition at line 50 of file GIOP_Message_Version.inl.

00051 {
00052   return !(*this == src);
00053 }

ACE_INLINE TAO_GIOP_Message_Version & TAO_GIOP_Message_Version::operator= const TAO_GIOP_Message_Version src  ) 
 

Copy operator.

Definition at line 24 of file GIOP_Message_Version.inl.

References major, and minor.

00025 {
00026   if (this != &src)
00027     {
00028       this->major = src.major;
00029       this->minor = src.minor;
00030     }
00031 
00032   return *this;
00033 }

ACE_INLINE bool TAO_GIOP_Message_Version::operator== const TAO_GIOP_Message_Version src  )  const
 

Equality operator.

Definition at line 44 of file GIOP_Message_Version.inl.

References major, and minor.

00045 {
00046   return this->minor == src.minor && this->major == src.major;
00047 }

ACE_INLINE void TAO_GIOP_Message_Version::set_version CORBA::Octet  maj,
CORBA::Octet  min
 

Explicitly set the major and minor version.

Definition at line 37 of file GIOP_Message_Version.inl.

Referenced by TAO_IIOP_Acceptor::open(), TAO_IIOP_Acceptor::open_default(), and TAO_Profile::parse_string().

00038 {
00039   this->major = maj;
00040   this->minor = min;
00041 }


Member Data Documentation

CORBA::Octet TAO_GIOP_Message_Version::major
 

Major version number.

Definition at line 44 of file GIOP_Message_Version.h.

Referenced by TAO_GIOP_Message_Base::consolidate_fragmented_message(), TAO_IIOP_Profile::create_profile_body(), TAO_Profile::decode(), TAO_On_Demand_Fragmentation_Strategy::fragment(), TAO_GIOP_Message_Base::generate_fragment_header(), TAO_GIOP_Message_State::get_byte_order_info(), TAO_OutputCDR::get_version(), TAO_GIOP_Message_State::get_version_info(), operator=(), operator==(), TAO_IIOP_Acceptor::parse_address(), TAO_GIOP_Message_Base::parse_request_id(), TAO_Profile::parse_string(), TAO_IIOP_Profile::parse_string_i(), TAO::Profile_Transport_Resolver::resolve(), TAO_ServerRequest::send_cached_reply(), TAO_GIOP_Message_Base::send_close_connection(), TAO_GIOP_Message_Base::set_state(), TAO_Profile::supports_non_blocking_oneways(), TAO_ServerRequest::tao_send_reply_exception(), TAO_Profile::verify_profile_version(), and TAO_GIOP_Message_Base::write_protocol_header().

CORBA::Octet TAO_GIOP_Message_Version::minor
 

Minor version number.

Definition at line 50 of file GIOP_Message_Version.h.

Referenced by TAO_GIOP_Message_Base::consolidate_fragmented_message(), TAO_IIOP_Profile::create_profile_body(), TAO_Profile::decode(), TAO_On_Demand_Fragmentation_Strategy::fragment(), TAO_GIOP_Message_Base::generate_fragment_header(), TAO_GIOP_Message_State::get_byte_order_info(), TAO_OutputCDR::get_version(), TAO_GIOP_Message_State::get_version_info(), TAO_IIOP_Profile::hash(), operator=(), operator==(), TAO_IIOP_Acceptor::parse_address(), TAO_GIOP_Message_Base::parse_request_id(), TAO_Profile::parse_string(), TAO_IIOP_Profile::parse_string_i(), TAO::Profile_Transport_Resolver::resolve(), TAO_ServerRequest::send_cached_reply(), TAO_GIOP_Message_Base::send_close_connection(), TAO_GIOP_Message_Base::set_state(), TAO_Profile::supports_non_blocking_oneways(), TAO_ServerRequest::tao_send_reply_exception(), TAO_Profile::verify_profile_version(), and TAO_GIOP_Message_Base::write_protocol_header().


The documentation for this class was generated from the following files:
Generated on Sun Jan 27 13:14:45 2008 for TAO by doxygen 1.3.6