TAO_On_Demand_Fragmentation_Strategy Class Reference
#include <On_Demand_Fragmentation_Strategy.h>
List of all members.
Constructor & Destructor Documentation
TAO_On_Demand_Fragmentation_Strategy::TAO_On_Demand_Fragmentation_Strategy |
( |
TAO_Transport * |
transport, |
|
|
ACE_CDR::ULong |
max_message_size | |
|
) |
| | |
TAO_On_Demand_Fragmentation_Strategy::~TAO_On_Demand_Fragmentation_Strategy |
( |
void |
|
) |
[virtual] |
Member Function Documentation
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.
Member Data Documentation
Size of GIOP message at which fragmentation will occur.
Pointer to the underlying transport object.
The documentation for this class was generated from the following files: