#include <Asynch_IO.h>
Collaboration diagram for ACE_Asynch_Transmit_File::Header_And_Trailer:
Public Methods | |
Header_And_Trailer (ACE_Message_Block *header=0, size_t header_bytes=0, ACE_Message_Block *trailer=0, size_t trailer_bytes=0) | |
Constructor. | |
virtual | ~Header_And_Trailer (void) |
Destructor. | |
void | header_and_trailer (ACE_Message_Block *header=0, size_t header_bytes=0, ACE_Message_Block *trailer=0, size_t trailer_bytes=0) |
This method allows all the member to be set in one fell swoop. | |
ACE_Message_Block * | header (void) const |
Get header which goes before the file data. | |
void | header (ACE_Message_Block *message_block) |
Set header which goes before the file data. | |
size_t | header_bytes (void) const |
Get size of the header data. | |
void | header_bytes (size_t bytes) |
Set size of the header data. | |
ACE_Message_Block * | trailer (void) const |
Get trailer which goes after the file data. | |
void | trailer (ACE_Message_Block *message_block) |
Set trailer which goes after the file data. | |
size_t | trailer_bytes (void) const |
Get size of the trailer data. | |
void | trailer_bytes (size_t bytes) |
Set size of the trailer data. | |
ACE_LPTRANSMIT_FILE_BUFFERS | transmit_buffers (void) |
Conversion routine. | |
Protected Attributes | |
ACE_Message_Block * | header_ |
Header data. | |
size_t | header_bytes_ |
Size of header data. | |
ACE_Message_Block * | trailer_ |
Trailer data. | |
size_t | trailer_bytes_ |
Size of trailer data. | |
ACE_TRANSMIT_FILE_BUFFERS | transmit_buffers_ |
Target data structure. |
This class provides a wrapper over TRANSMIT_FILE_BUFFERS and provided a consistent use of ACE_Message_Blocks.
|
Constructor.
|
|
Destructor.
|
|
Set header which goes before the file data.
|
|
Get header which goes before the file data.
|
|
This method allows all the member to be set in one fell swoop.
|
|
Set size of the header data.
|
|
Get size of the header data.
|
|
Set trailer which goes after the file data.
|
|
Get trailer which goes after the file data.
|
|
Set size of the trailer data.
|
|
Get size of the trailer data.
|
|
Conversion routine.
|
|
Header data.
|
|
Size of header data.
|
|
Trailer data.
|
|
Size of trailer data.
|
|
Target data structure.
|