#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 () 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 | _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 541 of file RT_Policy_i.h.
|
Constructor.
Definition at line 854 of file RT_Policy_i.cpp.
00856 : send_buffer_size_ (send_buffer_size), 00857 recv_buffer_size_ (recv_buffer_size) 00858 { 00859 } |
|
Protected destructor to enforce proper memory management of this reference counted object. Definition at line 861 of file RT_Policy_i.cpp.
00862 { 00863 } |
|
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 903 of file RT_Policy_i.cpp.
00904 { 00905 return ((in_cdr >> this->send_buffer_size_) 00906 && (in_cdr >> this->recv_buffer_size_)); 00907 } |
|
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 896 of file RT_Policy_i.cpp.
00897 { 00898 return ((out_cdr << this->send_buffer_size_) 00899 && (out_cdr << this->recv_buffer_size_)); 00900 } |
|
Definition at line 888 of file RT_Policy_i.cpp.
00891 { 00892 this->recv_buffer_size_ = recv_buffer_size; 00893 } |
|
Implements RTCORBA::UnixDomainProtocolProperties. Definition at line 881 of file RT_Policy_i.cpp.
00883 { 00884 return this->recv_buffer_size_; 00885 } |
|
Definition at line 873 of file RT_Policy_i.cpp.
00876 { 00877 this->send_buffer_size_ = send_buffer_size; 00878 } |
|
Implements RTCORBA::UnixDomainProtocolProperties. Definition at line 866 of file RT_Policy_i.cpp.
00868 { 00869 return this->send_buffer_size_; 00870 } |
|
Definition at line 594 of file RT_Policy_i.h. |
|
Definition at line 593 of file RT_Policy_i.h. |