#include <RMCast_Fragment.h>
Inheritance diagram for ACE_RMCast_Fragment:
Public Member Functions | |
ACE_RMCast_Fragment (void) | |
Constructor. | |
virtual | ~ACE_RMCast_Fragment (void) |
Destructor. | |
size_t | max_fragment_size (void) const |
Accessor for the max_fragment size. | |
virtual int | data (ACE_RMCast::Data &data) |
Private Attributes | |
size_t | max_fragment_size_ |
Current fragment size limit. |
Some transports cannot send very big messages, for example UDP imposes a limit of 64K, and in practice the limit is even more strict than that. This class decomposes a message into multiple fragments, using an application defined maximum size.
|
Constructor.
|
|
Destructor.
|
|
Only data messages need fragmentation, the control messages are all small enough for all the transports that I know about. Well, actually for CAN-Bus (Controller Area Network), they may be too big, because the max payload there is 8 bytes, but we don't play with those in ACE. Reimplemented from ACE_RMCast_Module. |
|
Accessor for the max_fragment size. There is no modifier, the maximum fragment size is obtained using feedback from the lower layers (transport?) @TODO We have not implemented the feedback mechanisms yet! |
|
Current fragment size limit.
|