#include <RT_Policy_i.h>
Inheritance diagram for TAO_TCP_Protocol_Properties:
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_ |
Stores TCP Protocol configuration properties.
Definition at line 453 of file RT_Policy_i.h.
|
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 } |
|
Protected destructor to enforce proper memory management of this reference counted object. Definition at line 730 of file RT_Policy_i.cpp.
00731 { 00732 } |
|
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 } |
|
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 } |
|
Definition at line 787 of file RT_Policy_i.cpp.
00790 { 00791 this->dont_route_ = dont_route; 00792 } |
|
Implements RTCORBA::TCPProtocolProperties. Definition at line 780 of file RT_Policy_i.cpp.
00782 { 00783 return this->dont_route_; 00784 } |
|
Definition at line 816 of file RT_Policy_i.cpp.
00819 { 00820 this->enable_network_priority_ = enable; 00821 } |
|
Implements RTCORBA::TCPProtocolProperties. Definition at line 809 of file RT_Policy_i.cpp.
00811 { 00812 return this->enable_network_priority_; 00813 } |
|
Definition at line 772 of file RT_Policy_i.cpp.
00775 { 00776 this->keep_alive_ = keep_alive; 00777 } |
|
Implements RTCORBA::TCPProtocolProperties. Definition at line 765 of file RT_Policy_i.cpp.
00767 { 00768 return this->keep_alive_; 00769 } |
|
Definition at line 801 of file RT_Policy_i.cpp.
00804 { 00805 this->no_delay_ = no_delay; 00806 } |
|
Implements RTCORBA::TCPProtocolProperties. Definition at line 794 of file RT_Policy_i.cpp.
00796 { 00797 return this->no_delay_; 00798 } |
|
Definition at line 757 of file RT_Policy_i.cpp.
00760 { 00761 this->recv_buffer_size_ = recv_buffer_size; 00762 } |
|
Implements RTCORBA::TCPProtocolProperties. Definition at line 750 of file RT_Policy_i.cpp.
00752 { 00753 return this->recv_buffer_size_; 00754 } |
|
Definition at line 742 of file RT_Policy_i.cpp.
00745 { 00746 this->send_buffer_size_ = send_buffer_size; 00747 } |
|
Implements RTCORBA::TCPProtocolProperties. Definition at line 735 of file RT_Policy_i.cpp.
00737 { 00738 return this->send_buffer_size_; 00739 } |
|
Definition at line 526 of file RT_Policy_i.h. |
|
Definition at line 528 of file RT_Policy_i.h. |
|
Definition at line 525 of file RT_Policy_i.h. |
|
Definition at line 527 of file RT_Policy_i.h. |
|
Definition at line 524 of file RT_Policy_i.h. |
|
Definition at line 523 of file RT_Policy_i.h. |