#include <RT_Policy_i.h>
Inheritance diagram for TAO_UnixDomain_Protocol_Properties:
Public Member Functions | |
TAO_UnixDomain_Protocol_Properties (CORBA::Long send_buffer_size, CORBA::Long recv_buffer_size) | |
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 | _tao_encode (TAO_OutputCDR &out_cdr) |
CORBA::Boolean | _tao_decode (TAO_InputCDR &in_cdr) |
Protected Member Functions | |
virtual | ~TAO_UnixDomain_Protocol_Properties (void) |
Private Attributes | |
CORBA::Long | send_buffer_size_ |
CORBA::Long | recv_buffer_size_ |
Stores Unix Domain Sockets (Local IPC) Protocol configuration properties.
Definition at line 490 of file RT_Policy_i.h.
|
Constructor.
Definition at line 793 of file RT_Policy_i.cpp.
00795 : send_buffer_size_ (send_buffer_size), 00796 recv_buffer_size_ (recv_buffer_size) 00797 { 00798 } |
|
Protected destructor to enforce proper memory management of this reference counted object. Definition at line 800 of file RT_Policy_i.cpp.
00801 { 00802 } |
|
This method reads an instance of UnixDomainProperties from a CDR encapsulation. This Protocol Property in TAO specific, so there is no order of encapsulation specified in the RT CORBA Spec. The current implementation expect the field according to the order of declaration. Implements RTCORBA::ProtocolProperties. Definition at line 838 of file RT_Policy_i.cpp.
00839 { 00840 return ((in_cdr >> this->send_buffer_size_) 00841 && (in_cdr >> this->recv_buffer_size_)); 00842 } |
|
This method writes the CDR encapsulation of an instance of UnixDomainProperties. This Protocol Property in TAO specific, so there is no order of encapsulation specified in the RT CORBA Spec. The current implementation encodes the field according to the order of declaration (i.e. first is encoded send_buffer_size and then recv_buffer_size). Implements RTCORBA::ProtocolProperties. Definition at line 831 of file RT_Policy_i.cpp.
00832 { 00833 return ((out_cdr << this->send_buffer_size_) 00834 && (out_cdr << this->recv_buffer_size_)); 00835 } |
|
Definition at line 824 of file RT_Policy_i.cpp.
00826 { 00827 this->recv_buffer_size_ = recv_buffer_size; 00828 } |
|
Definition at line 818 of file RT_Policy_i.cpp.
00819 { 00820 return this->recv_buffer_size_; 00821 } |
|
Definition at line 811 of file RT_Policy_i.cpp.
00813 { 00814 this->send_buffer_size_ = send_buffer_size; 00815 } |
|
Definition at line 805 of file RT_Policy_i.cpp.
00806 { 00807 return this->send_buffer_size_; 00808 } |
|
Definition at line 537 of file RT_Policy_i.h. |
|
Definition at line 536 of file RT_Policy_i.h. |