TAO_On_Demand_Fragmentation_Strategy Class Reference

#include <On_Demand_Fragmentation_Strategy.h>

Inheritance diagram for TAO_On_Demand_Fragmentation_Strategy:

Inheritance graph
[legend]
Collaboration diagram for TAO_On_Demand_Fragmentation_Strategy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_On_Demand_Fragmentation_Strategy (TAO_Transport *transport, ACE_CDR::ULong max_message_size)
 Constructor.
virtual ~TAO_On_Demand_Fragmentation_Strategy (void)
virtual int fragment (TAO_OutputCDR &cdr, ACE_CDR::ULong pending_alignment, ACE_CDR::ULong pending_length)
 Fragment the (potentially partially) encoded GIOP message.

Private Member Functions

 TAO_On_Demand_Fragmentation_Strategy (TAO_On_Demand_Fragmentation_Strategy const &)
void operator= (TAO_On_Demand_Fragmentation_Strategy const &)

Private Attributes

TAO_Transport *const transport_
 Pointer to the underlying transport object.
ACE_CDR::ULong const max_message_size_
 Size of GIOP message at which fragmentation will occur.

Constructor & Destructor Documentation

TAO_On_Demand_Fragmentation_Strategy::TAO_On_Demand_Fragmentation_Strategy ( TAO_Transport transport,
ACE_CDR::ULong  max_message_size 
)

Constructor.

TAO_On_Demand_Fragmentation_Strategy::~TAO_On_Demand_Fragmentation_Strategy ( void   )  [virtual]

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


Member Function Documentation

int TAO_On_Demand_Fragmentation_Strategy::fragment ( TAO_OutputCDR cdr,
ACE_CDR::ULong  pending_alignment,
ACE_CDR::ULong  pending_length 
) [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."

Note:
Fragmentation will only occur if the CDR stream length will surpass the configured fragmentation threshold when marshaling the pending set of data.
Parameters:
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).
Returns:
Zero on success.

Implements TAO_GIOP_Fragmentation_Strategy.

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


Member Data Documentation

ACE_CDR::ULong const TAO_On_Demand_Fragmentation_Strategy::max_message_size_ [private]

Size of GIOP message at which fragmentation will occur.

TAO_Transport* const TAO_On_Demand_Fragmentation_Strategy::transport_ [private]

Pointer to the underlying transport object.


The documentation for this class was generated from the following files:
Generated on Mon Apr 30 23:03:34 2007 for TAO by  doxygen 1.4.7-1