TAO_TCP_Protocol_Properties Class Reference

RTCORBA::TCPProtocolProperties implementation. More...

#include <RT_Policy_i.h>

Inheritance diagram for TAO_TCP_Protocol_Properties:

Inheritance graph
[legend]
Collaboration diagram for TAO_TCP_Protocol_Properties:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_TCP_Protocol_Properties (CORBA::Long send_buffer_size, CORBA::Long recv_buffer_size, CORBA::Boolean keep_alive, CORBA::Boolean dont_route, CORBA::Boolean no_delay, CORBA::Boolean enable_network_priority)
 Constructor.

CORBA::Long send_buffer_size () throw (CORBA::SystemException)
void send_buffer_size (CORBA::Long send_buffer_size) throw (CORBA::SystemException)
CORBA::Long recv_buffer_size () throw (CORBA::SystemException)
void recv_buffer_size (CORBA::Long recv_buffer_size) throw (CORBA::SystemException)
CORBA::Boolean keep_alive () throw (CORBA::SystemException)
void keep_alive (CORBA::Boolean keep_alive) throw (CORBA::SystemException)
CORBA::Boolean dont_route () throw (CORBA::SystemException)
void dont_route (CORBA::Boolean dont_route) throw (CORBA::SystemException)
CORBA::Boolean no_delay () throw (CORBA::SystemException)
void no_delay (CORBA::Boolean no_delay) throw (CORBA::SystemException)
CORBA::Boolean enable_network_priority () throw (CORBA::SystemException)
void enable_network_priority (CORBA::Boolean enable) throw (CORBA::SystemException)
CORBA::Boolean _tao_encode (TAO_OutputCDR &out_cdr)
 This method writes a CDR representation of TCPProtocolProperties.

CORBA::Boolean _tao_decode (TAO_InputCDR &in_cdr)
 This method reads the object state from a CDR representation.


Protected Member Functions

virtual ~TAO_TCP_Protocol_Properties (void)

Private Attributes

CORBA::Long send_buffer_size_
CORBA::Long recv_buffer_size_
CORBA::Boolean keep_alive_
CORBA::Boolean dont_route_
CORBA::Boolean no_delay_
CORBA::Boolean enable_network_priority_

Detailed Description

RTCORBA::TCPProtocolProperties implementation.

Stores TCP Protocol configuration properties.

Definition at line 453 of file RT_Policy_i.h.


Constructor & Destructor Documentation

TAO_TCP_Protocol_Properties::TAO_TCP_Protocol_Properties CORBA::Long  send_buffer_size,
CORBA::Long  recv_buffer_size,
CORBA::Boolean  keep_alive,
CORBA::Boolean  dont_route,
CORBA::Boolean  no_delay,
CORBA::Boolean  enable_network_priority
 

Constructor.

Definition at line 715 of file RT_Policy_i.cpp.

00721   : send_buffer_size_ (send_buffer_size),
00722     recv_buffer_size_ (recv_buffer_size),
00723     keep_alive_ (keep_alive),
00724     dont_route_ (dont_route),
00725     no_delay_ (no_delay),
00726     enable_network_priority_ (enable_network_priority)
00727 {
00728 }

TAO_TCP_Protocol_Properties::~TAO_TCP_Protocol_Properties void   )  [protected, virtual]
 

Protected destructor to enforce proper memory management of this reference counted object.

Definition at line 730 of file RT_Policy_i.cpp.

00731 {
00732 }


Member Function Documentation

CORBA::Boolean TAO_TCP_Protocol_Properties::_tao_decode TAO_InputCDR in_cdr  )  [virtual]
 

This method reads the object state from a CDR representation.

Implements RTCORBA::ProtocolProperties.

Definition at line 838 of file RT_Policy_i.cpp.

References ACE_InputCDR::read_boolean().

00839 {
00840   return ((in_cdr >> this->send_buffer_size_)
00841           &&
00842           (in_cdr >> this->recv_buffer_size_)
00843           &&
00844           (in_cdr.read_boolean (this->keep_alive_))
00845           &&
00846           (in_cdr.read_boolean (this->dont_route_))
00847           &&
00848           (in_cdr.read_boolean (this->no_delay_)));
00849 }

CORBA::Boolean TAO_TCP_Protocol_Properties::_tao_encode TAO_OutputCDR out_cdr  )  [virtual]
 

This method writes a CDR representation of TCPProtocolProperties.

Implements RTCORBA::ProtocolProperties.

Definition at line 824 of file RT_Policy_i.cpp.

References ACE_OutputCDR::write_boolean().

00825 {
00826   return ((out_cdr << this->send_buffer_size_)
00827           &&
00828           (out_cdr << this->recv_buffer_size_)
00829           &&
00830           (out_cdr.write_boolean (this->keep_alive_))
00831           &&
00832           (out_cdr.write_boolean (this->dont_route_))
00833           &&
00834           (out_cdr.write_boolean (this->no_delay_)));
00835 }

void TAO_TCP_Protocol_Properties::dont_route CORBA::Boolean  dont_route  )  throw (CORBA::SystemException)
 

Definition at line 787 of file RT_Policy_i.cpp.

00790 {
00791   this->dont_route_ = dont_route;
00792 }

CORBA::Boolean TAO_TCP_Protocol_Properties::dont_route  )  throw (CORBA::SystemException) [virtual]
 

Implements RTCORBA::TCPProtocolProperties.

Definition at line 780 of file RT_Policy_i.cpp.

00782 {
00783   return this->dont_route_;
00784 }

void TAO_TCP_Protocol_Properties::enable_network_priority CORBA::Boolean  enable  )  throw (CORBA::SystemException)
 

Definition at line 816 of file RT_Policy_i.cpp.

00819 {
00820   this->enable_network_priority_ = enable;
00821 }

CORBA::Boolean TAO_TCP_Protocol_Properties::enable_network_priority  )  throw (CORBA::SystemException) [virtual]
 

Implements RTCORBA::TCPProtocolProperties.

Definition at line 809 of file RT_Policy_i.cpp.

00811 {
00812   return this->enable_network_priority_;
00813 }

void TAO_TCP_Protocol_Properties::keep_alive CORBA::Boolean  keep_alive  )  throw (CORBA::SystemException)
 

Definition at line 772 of file RT_Policy_i.cpp.

00775 {
00776   this->keep_alive_ = keep_alive;
00777 }

CORBA::Boolean TAO_TCP_Protocol_Properties::keep_alive  )  throw (CORBA::SystemException) [virtual]
 

Implements RTCORBA::TCPProtocolProperties.

Definition at line 765 of file RT_Policy_i.cpp.

00767 {
00768   return this->keep_alive_;
00769 }

void TAO_TCP_Protocol_Properties::no_delay CORBA::Boolean  no_delay  )  throw (CORBA::SystemException)
 

Definition at line 801 of file RT_Policy_i.cpp.

00804 {
00805   this->no_delay_ = no_delay;
00806 }

CORBA::Boolean TAO_TCP_Protocol_Properties::no_delay  )  throw (CORBA::SystemException) [virtual]
 

Implements RTCORBA::TCPProtocolProperties.

Definition at line 794 of file RT_Policy_i.cpp.

00796 {
00797   return this->no_delay_;
00798 }

void TAO_TCP_Protocol_Properties::recv_buffer_size CORBA::Long  recv_buffer_size  )  throw (CORBA::SystemException)
 

Definition at line 757 of file RT_Policy_i.cpp.

00760 {
00761   this->recv_buffer_size_ = recv_buffer_size;
00762 }

CORBA::Long TAO_TCP_Protocol_Properties::recv_buffer_size  )  throw (CORBA::SystemException) [virtual]
 

Implements RTCORBA::TCPProtocolProperties.

Definition at line 750 of file RT_Policy_i.cpp.

00752 {
00753   return this->recv_buffer_size_;
00754 }

void TAO_TCP_Protocol_Properties::send_buffer_size CORBA::Long  send_buffer_size  )  throw (CORBA::SystemException)
 

Definition at line 742 of file RT_Policy_i.cpp.

00745 {
00746   this->send_buffer_size_ = send_buffer_size;
00747 }

CORBA::Long TAO_TCP_Protocol_Properties::send_buffer_size  )  throw (CORBA::SystemException) [virtual]
 

Implements RTCORBA::TCPProtocolProperties.

Definition at line 735 of file RT_Policy_i.cpp.

00737 {
00738   return this->send_buffer_size_;
00739 }


Member Data Documentation

CORBA::Boolean TAO_TCP_Protocol_Properties::dont_route_ [private]
 

Definition at line 526 of file RT_Policy_i.h.

CORBA::Boolean TAO_TCP_Protocol_Properties::enable_network_priority_ [private]
 

Definition at line 528 of file RT_Policy_i.h.

CORBA::Boolean TAO_TCP_Protocol_Properties::keep_alive_ [private]
 

Definition at line 525 of file RT_Policy_i.h.

CORBA::Boolean TAO_TCP_Protocol_Properties::no_delay_ [private]
 

Definition at line 527 of file RT_Policy_i.h.

CORBA::Long TAO_TCP_Protocol_Properties::recv_buffer_size_ [private]
 

Definition at line 524 of file RT_Policy_i.h.

CORBA::Long TAO_TCP_Protocol_Properties::send_buffer_size_ [private]
 

Definition at line 523 of file RT_Policy_i.h.


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 13:00:02 2006 for TAO_RTCORBA by doxygen 1.3.6