#include <RT_Policy_i.h>
Inheritance diagram for TAO_TCP_Protocol_Properties:
Stores TCP Protocol configuration properties.
Definition at line 420 of file RT_Policy_i.h.
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.
00661 : send_buffer_size_ (send_buffer_size), 00662 recv_buffer_size_ (recv_buffer_size), 00663 keep_alive_ (keep_alive), 00664 dont_route_ (dont_route), 00665 no_delay_ (no_delay), 00666 enable_network_priority_ (enable_network_priority) 00667 { 00668 }
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.
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 | ) |
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 }