#include <GIOP_Fragmentation_Strategy.h>
TAO_GIOP_Fragmentation_Strategy::TAO_GIOP_Fragmentation_Strategy |
( |
void |
| ) |
|
|
inline |
TAO_GIOP_Fragmentation_Strategy::~TAO_GIOP_Fragmentation_Strategy |
( |
void |
| ) |
|
|
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.
Implemented in TAO_On_Demand_Fragmentation_Strategy, and TAO_Null_Fragmentation_Strategy.
The documentation for this class was generated from the following files: