TAO  2.3.3
Public Member Functions | Private Member Functions | List of all members
TAO_Null_Fragmentation_Strategy Class Reference

#include <Null_Fragmentation_Strategy.h>

Inheritance diagram for TAO_Null_Fragmentation_Strategy:
Inheritance graph
Collaboration diagram for TAO_Null_Fragmentation_Strategy:
Collaboration graph

Public Member Functions

 TAO_Null_Fragmentation_Strategy (void)
virtual ~TAO_Null_Fragmentation_Strategy (void)
virtual int fragment (TAO_OutputCDR &, ACE_CDR::ULong, ACE_CDR::ULong)
 Fragment the (potentially partially) encoded GIOP message. More...
- Public Member Functions inherited from TAO_GIOP_Fragmentation_Strategy
 TAO_GIOP_Fragmentation_Strategy (void)
 Constructor. More...
virtual ~TAO_GIOP_Fragmentation_Strategy (void)
 Destructor. More...

Private Member Functions

 TAO_Null_Fragmentation_Strategy (TAO_Null_Fragmentation_Strategy const &)
void operator= (TAO_Null_Fragmentation_Strategy const &)

Constructor & Destructor Documentation

TAO_Null_Fragmentation_Strategy::TAO_Null_Fragmentation_Strategy ( void  )
TAO_Null_Fragmentation_Strategy::~TAO_Null_Fragmentation_Strategy ( void  )
TAO_Null_Fragmentation_Strategy::TAO_Null_Fragmentation_Strategy ( TAO_Null_Fragmentation_Strategy const &  )

Member Function Documentation

int TAO_Null_Fragmentation_Strategy::fragment ( TAO_OutputCDR cdr,
ACE_CDR::ULong  pending_alignment,
ACE_CDR::ULong  pending_length 

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.
cdrOutput CDR stream.
pending_alignmentSize of alignment boundary for next data to be marshaled (e.g. 4 for a CORBA::ULong).
pending_lengthSize of next data to be marshaled (e.g. 2 for a CORBA::UShort).
Zero on success.

Implements TAO_GIOP_Fragmentation_Strategy.

void TAO_Null_Fragmentation_Strategy::operator= ( TAO_Null_Fragmentation_Strategy const &  )

The documentation for this class was generated from the following files: