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 (void)
void send_buffer_size (CORBA::Long send_buffer_size)
CORBA::Long recv_buffer_size (void)
void recv_buffer_size (CORBA::Long recv_buffer_size)
CORBA::Boolean keep_alive (void)
void keep_alive (CORBA::Boolean keep_alive)
CORBA::Boolean dont_route (void)
void dont_route (CORBA::Boolean dont_route)
CORBA::Boolean no_delay (void)
void no_delay (CORBA::Boolean no_delay)
CORBA::Boolean enable_network_priority (void)
void enable_network_priority (CORBA::Boolean enable)
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 420 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 655 of file RT_Policy_i.cpp.

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 670 of file RT_Policy_i.cpp.

00671 {
00672 }


Member Function Documentation

CORBA::Boolean TAO_TCP_Protocol_Properties::_tao_decode ( TAO_InputCDR in_cdr  ) 

This method reads the object state from a CDR representation.

Definition at line 760 of file RT_Policy_i.cpp.

References ACE_InputCDR::read_boolean().

00761 {
00762   return ((in_cdr >> this->send_buffer_size_)
00763           &&
00764           (in_cdr >> this->recv_buffer_size_)
00765           &&
00766           (in_cdr.read_boolean (this->keep_alive_))
00767           &&
00768           (in_cdr.read_boolean (this->dont_route_))
00769           &&
00770           (in_cdr.read_boolean (this->no_delay_)));
00771 }

CORBA::Boolean TAO_TCP_Protocol_Properties::_tao_encode ( TAO_OutputCDR out_cdr  ) 

This method writes a CDR representation of TCPProtocolProperties.

Definition at line 746 of file RT_Policy_i.cpp.

References ACE_OutputCDR::write_boolean().

00747 {
00748   return ((out_cdr << this->send_buffer_size_)
00749           &&
00750           (out_cdr << this->recv_buffer_size_)
00751           &&
00752           (out_cdr.write_boolean (this->keep_alive_))
00753           &&
00754           (out_cdr.write_boolean (this->dont_route_))
00755           &&
00756           (out_cdr.write_boolean (this->no_delay_)));
00757 }

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

Definition at line 717 of file RT_Policy_i.cpp.

References dont_route_.

00718 {
00719   this->dont_route_ = dont_route;
00720 }

CORBA::Boolean TAO_TCP_Protocol_Properties::dont_route ( void   ) 

Definition at line 711 of file RT_Policy_i.cpp.

References dont_route_.

00712 {
00713   return this->dont_route_;
00714 }

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

Definition at line 740 of file RT_Policy_i.cpp.

References enable_network_priority_.

00741 {
00742   this->enable_network_priority_ = enable;
00743 }

CORBA::Boolean TAO_TCP_Protocol_Properties::enable_network_priority ( void   ) 

Definition at line 734 of file RT_Policy_i.cpp.

References enable_network_priority_.

00735 {
00736   return this->enable_network_priority_;
00737 }

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

Definition at line 705 of file RT_Policy_i.cpp.

References keep_alive_.

00706 {
00707   this->keep_alive_ = keep_alive;
00708 }

CORBA::Boolean TAO_TCP_Protocol_Properties::keep_alive ( void   ) 

Definition at line 699 of file RT_Policy_i.cpp.

References keep_alive_.

00700 {
00701   return this->keep_alive_;
00702 }

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

Definition at line 728 of file RT_Policy_i.cpp.

References no_delay_.

00729 {
00730   this->no_delay_ = no_delay;
00731 }

CORBA::Boolean TAO_TCP_Protocol_Properties::no_delay ( void   ) 

Definition at line 722 of file RT_Policy_i.cpp.

References no_delay_.

00723 {
00724   return this->no_delay_;
00725 }

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

Definition at line 693 of file RT_Policy_i.cpp.

References recv_buffer_size_.

00694 {
00695   this->recv_buffer_size_ = recv_buffer_size;
00696 }

CORBA::Long TAO_TCP_Protocol_Properties::recv_buffer_size ( void   ) 

Definition at line 687 of file RT_Policy_i.cpp.

References recv_buffer_size_.

00688 {
00689   return this->recv_buffer_size_;
00690 }

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

Definition at line 681 of file RT_Policy_i.cpp.

References send_buffer_size_.

00682 {
00683   this->send_buffer_size_ = send_buffer_size;
00684 }

CORBA::Long TAO_TCP_Protocol_Properties::send_buffer_size ( void   ) 

Definition at line 675 of file RT_Policy_i.cpp.

References send_buffer_size_.

00676 {
00677   return this->send_buffer_size_;
00678 }


Member Data Documentation

CORBA::Boolean TAO_TCP_Protocol_Properties::dont_route_ [private]

Definition at line 475 of file RT_Policy_i.h.

Referenced by dont_route().

CORBA::Boolean TAO_TCP_Protocol_Properties::enable_network_priority_ [private]

Definition at line 477 of file RT_Policy_i.h.

Referenced by enable_network_priority().

CORBA::Boolean TAO_TCP_Protocol_Properties::keep_alive_ [private]

Definition at line 474 of file RT_Policy_i.h.

Referenced by keep_alive().

CORBA::Boolean TAO_TCP_Protocol_Properties::no_delay_ [private]

Definition at line 476 of file RT_Policy_i.h.

Referenced by no_delay().

CORBA::Long TAO_TCP_Protocol_Properties::recv_buffer_size_ [private]

Definition at line 473 of file RT_Policy_i.h.

Referenced by recv_buffer_size().

CORBA::Long TAO_TCP_Protocol_Properties::send_buffer_size_ [private]

Definition at line 472 of file RT_Policy_i.h.

Referenced by send_buffer_size().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:43:03 2010 for TAO_RTCORBA by  doxygen 1.4.7