TAO_GIOP_Fragmentation_Strategy Class Reference

#include <GIOP_Fragmentation_Strategy.h>

Inheritance diagram for TAO_GIOP_Fragmentation_Strategy:

Inheritance graph
List of all members.

Public Member Functions

 TAO_GIOP_Fragmentation_Strategy (void)
virtual ~TAO_GIOP_Fragmentation_Strategy (void)
virtual int fragment (TAO_OutputCDR &cdr, ACE_CDR::ULong pending_alignment, ACE_CDR::ULong pending_length)=0
 Fragment the (potentially partially) encoded GIOP message.

Private Member Functions

 TAO_GIOP_Fragmentation_Strategy (TAO_GIOP_Fragmentation_Strategy const &)
void operator= (TAO_GIOP_Fragmentation_Strategy const &)

Constructor & Destructor Documentation

TAO_GIOP_Fragmentation_Strategy::TAO_GIOP_Fragmentation_Strategy ( void   )  [inline]


TAO_GIOP_Fragmentation_Strategy::~TAO_GIOP_Fragmentation_Strategy ( void   )  [virtual]


TAO_GIOP_Fragmentation_Strategy::TAO_GIOP_Fragmentation_Strategy ( TAO_GIOP_Fragmentation_Strategy const &   )  [private]

Member Function Documentation

virtual int TAO_GIOP_Fragmentation_Strategy::fragment ( TAO_OutputCDR cdr,
ACE_CDR::ULong  pending_alignment,
ACE_CDR::ULong  pending_length 
) [pure virtual]

Fragment the (potentially partially) encoded GIOP message.

Fragmentation the contents of the CDR output stream cdr into smaller chunks of data of size that fits within the configured ORB fragmentation threshold, and send each fragment "over the wire."

Fragmentation will only occur if the CDR stream length will surpass the configured fragmentation threshold when marshaling the pending set of data.
cdr Output CDR stream.
pending_alignment Size of alignment boundary for next data to be marshaled (e.g. 4 for a CORBA::ULong).
pending_length Size of next data to be marshaled (e.g. 2 for a CORBA::UShort).
Zero on success.

Implemented in TAO_Null_Fragmentation_Strategy, and TAO_On_Demand_Fragmentation_Strategy.

void TAO_GIOP_Fragmentation_Strategy::operator= ( TAO_GIOP_Fragmentation_Strategy const &   )  [private]

The documentation for this class was generated from the following files:
Generated on Tue Jan 30 13:58:55 2007 for TAO by  doxygen 1.4.7-1