TAO_RTCORBA  2.0.8
Public Member Functions | Protected Member Functions | Private Attributes
TAO_SharedMemory_Protocol_Properties Class Reference

RTCORBA::SharedMemoryProtocolProperties implementation. More...

#include <RT_Policy_i.h>

Inheritance diagram for TAO_SharedMemory_Protocol_Properties:
Inheritance graph
[legend]
Collaboration diagram for TAO_SharedMemory_Protocol_Properties:
Collaboration graph
[legend]

List of all members.

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)
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 keep_alive (void)
void keep_alive (CORBA::Boolean keep_alive)
CORBA::Boolean dont_route (void)
void dont_route (CORBA::Boolean dont_route)
CORBA::Boolean no_delay (void)
void no_delay (CORBA::Boolean no_delay)
CORBA::Boolean enable_network_priority (void)
CORBA::Long preallocate_buffer_size (void)
void preallocate_buffer_size (CORBA::Long preallocate_buffer_size)
char * mmap_filename (void)
void mmap_filename (const char *mmap_filename)
char * mmap_lockname (void)
void mmap_lockname (const char *mmap_lockname)
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_

Detailed Description

RTCORBA::SharedMemoryProtocolProperties implementation.

Stores Shared Memory Protocol configuration properties.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

CORBA::Boolean TAO_SharedMemory_Protocol_Properties::dont_route ( void  ) [virtual]
void TAO_SharedMemory_Protocol_Properties::dont_route ( CORBA::Boolean  dont_route)
CORBA::Boolean TAO_SharedMemory_Protocol_Properties::enable_network_priority ( void  )
CORBA::Boolean TAO_SharedMemory_Protocol_Properties::keep_alive ( void  ) [virtual]
void TAO_SharedMemory_Protocol_Properties::keep_alive ( CORBA::Boolean  keep_alive)
char * TAO_SharedMemory_Protocol_Properties::mmap_filename ( void  ) [virtual]
void TAO_SharedMemory_Protocol_Properties::mmap_filename ( const char *  mmap_filename) [virtual]
char * TAO_SharedMemory_Protocol_Properties::mmap_lockname ( void  ) [virtual]
void TAO_SharedMemory_Protocol_Properties::mmap_lockname ( const char *  mmap_lockname) [virtual]
CORBA::Boolean TAO_SharedMemory_Protocol_Properties::no_delay ( void  ) [virtual]
void TAO_SharedMemory_Protocol_Properties::no_delay ( CORBA::Boolean  no_delay)
CORBA::Long TAO_SharedMemory_Protocol_Properties::preallocate_buffer_size ( void  ) [virtual]
void TAO_SharedMemory_Protocol_Properties::preallocate_buffer_size ( CORBA::Long  preallocate_buffer_size)
CORBA::Long TAO_SharedMemory_Protocol_Properties::recv_buffer_size ( void  ) [virtual]
void TAO_SharedMemory_Protocol_Properties::recv_buffer_size ( CORBA::Long  recv_buffer_size)
CORBA::Long TAO_SharedMemory_Protocol_Properties::send_buffer_size ( void  ) [virtual]
void TAO_SharedMemory_Protocol_Properties::send_buffer_size ( CORBA::Long  send_buffer_size)

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines