#include <RT_Policy_i.h>
Inheritance diagram for TAO_SharedMemory_Protocol_Properties:
Public Member Functions | |
TAO_SharedMemory_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::Long preallocate_buffer_size, const char *mmap_filename, const char *mmap_lockname) | |
Constructor. | |
CORBA::Long | send_buffer_size (void) throw (CORBA::SystemException) |
void | send_buffer_size (CORBA::Long send_buffer_size) throw (CORBA::SystemException) |
CORBA::Long | recv_buffer_size (void) throw (CORBA::SystemException) |
void | recv_buffer_size (CORBA::Long recv_buffer_size) throw (CORBA::SystemException) |
CORBA::Boolean | keep_alive (void) throw (CORBA::SystemException) |
void | keep_alive (CORBA::Boolean keep_alive) throw (CORBA::SystemException) |
CORBA::Boolean | dont_route (void) throw (CORBA::SystemException) |
void | dont_route (CORBA::Boolean dont_route) throw (CORBA::SystemException) |
CORBA::Boolean | no_delay (void) throw (CORBA::SystemException) |
void | no_delay (CORBA::Boolean no_delay) throw (CORBA::SystemException) |
CORBA::Boolean | enable_network_priority (void) throw (CORBA::SystemException) |
CORBA::Long | preallocate_buffer_size (void) throw (CORBA::SystemException) |
void | preallocate_buffer_size (CORBA::Long preallocate_buffer_size) throw (CORBA::SystemException) |
char * | mmap_filename (void) throw (CORBA::SystemException) |
void | mmap_filename (const char *mmap_filename) throw (CORBA::SystemException) |
char * | mmap_lockname (void) throw (CORBA::SystemException) |
void | mmap_lockname (const char *mmap_lockname) throw (CORBA::SystemException) |
CORBA::Boolean | _tao_encode (TAO_OutputCDR &out_cdr) |
CORBA::Boolean | _tao_decode (TAO_InputCDR &in_cdr) |
Protected Member Functions | |
virtual | ~TAO_SharedMemory_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::Long | preallocate_buffer_size_ |
ACE_CString | mmap_filename_ |
ACE_CString | mmap_lockname_ |
Stores Shared Memory Protocol configuration properties.
TAO_SharedMemory_Protocol_Properties::TAO_SharedMemory_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::Long | preallocate_buffer_size, | |||
const char * | mmap_filename, | |||
const char * | mmap_lockname | |||
) |
Constructor.
TAO_SharedMemory_Protocol_Properties::~TAO_SharedMemory_Protocol_Properties | ( | void | ) | [protected, virtual] |
Protected destructor to enforce proper memory management of this reference counted object.
CORBA::Boolean TAO_SharedMemory_Protocol_Properties::_tao_decode | ( | TAO_InputCDR & | in_cdr | ) | [virtual] |
This method reads an instance of SharedMemoryProperties 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.
Reimplemented from RTCORBA::ProtocolProperties.
CORBA::Boolean TAO_SharedMemory_Protocol_Properties::_tao_encode | ( | TAO_OutputCDR & | out_cdr | ) | [virtual] |
This method writes the CDR encapsulation of an instance of SharedMemoryProperties. 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.
Reimplemented from RTCORBA::ProtocolProperties.
void TAO_SharedMemory_Protocol_Properties::dont_route | ( | CORBA::Boolean | dont_route | ) | throw (CORBA::SystemException) |
CORBA::Boolean TAO_SharedMemory_Protocol_Properties::dont_route | ( | void | ) | throw (CORBA::SystemException) [virtual] |
Implements RTCORBA::SharedMemoryProtocolProperties.
CORBA::Boolean TAO_SharedMemory_Protocol_Properties::enable_network_priority | ( | void | ) | throw (CORBA::SystemException) |
void TAO_SharedMemory_Protocol_Properties::keep_alive | ( | CORBA::Boolean | keep_alive | ) | throw (CORBA::SystemException) |
CORBA::Boolean TAO_SharedMemory_Protocol_Properties::keep_alive | ( | void | ) | throw (CORBA::SystemException) [virtual] |
Implements RTCORBA::SharedMemoryProtocolProperties.
void TAO_SharedMemory_Protocol_Properties::mmap_filename | ( | const char * | mmap_filename | ) | throw (CORBA::SystemException) [virtual] |
Implements RTCORBA::SharedMemoryProtocolProperties.
char * TAO_SharedMemory_Protocol_Properties::mmap_filename | ( | void | ) | throw (CORBA::SystemException) [virtual] |
Implements RTCORBA::SharedMemoryProtocolProperties.
void TAO_SharedMemory_Protocol_Properties::mmap_lockname | ( | const char * | mmap_lockname | ) | throw (CORBA::SystemException) [virtual] |
Implements RTCORBA::SharedMemoryProtocolProperties.
char * TAO_SharedMemory_Protocol_Properties::mmap_lockname | ( | void | ) | throw (CORBA::SystemException) [virtual] |
Implements RTCORBA::SharedMemoryProtocolProperties.
void TAO_SharedMemory_Protocol_Properties::no_delay | ( | CORBA::Boolean | no_delay | ) | throw (CORBA::SystemException) |
CORBA::Boolean TAO_SharedMemory_Protocol_Properties::no_delay | ( | void | ) | throw (CORBA::SystemException) [virtual] |
Implements RTCORBA::SharedMemoryProtocolProperties.
void TAO_SharedMemory_Protocol_Properties::preallocate_buffer_size | ( | CORBA::Long | preallocate_buffer_size | ) | throw (CORBA::SystemException) |
CORBA::Long TAO_SharedMemory_Protocol_Properties::preallocate_buffer_size | ( | void | ) | throw (CORBA::SystemException) [virtual] |
Implements RTCORBA::SharedMemoryProtocolProperties.
void TAO_SharedMemory_Protocol_Properties::recv_buffer_size | ( | CORBA::Long | recv_buffer_size | ) | throw (CORBA::SystemException) |
CORBA::Long TAO_SharedMemory_Protocol_Properties::recv_buffer_size | ( | void | ) | throw (CORBA::SystemException) [virtual] |
Implements RTCORBA::SharedMemoryProtocolProperties.
void TAO_SharedMemory_Protocol_Properties::send_buffer_size | ( | CORBA::Long | send_buffer_size | ) | throw (CORBA::SystemException) |
CORBA::Long TAO_SharedMemory_Protocol_Properties::send_buffer_size | ( | void | ) | throw (CORBA::SystemException) [virtual] |
Implements RTCORBA::SharedMemoryProtocolProperties.