rasdaman complete source
|
#include <rnprotocol.hh>
Public Member Functions | |
bool | isRnpMessage () const throw () |
Returns 'true' if this is a valid RNP header. More... | |
Rnp::Endianness | getEndianness () const throw () |
Returns the message endianness. More... | |
RnpQuark | getTotalLength () const throw () |
Returns the total length of the message, regardless of endianness. More... | |
bool | changeEndianness (Rnp::Endianness) throw () |
RnpFragmentHeader * | getFirstFragment () const throw () |
Returns a pointer to the first fragment. Header has to be in host endianness. More... | |
The header of the RNP message. Always 64 bytes long
bool rnp::RnpHeader::changeEndianness | ( | Rnp::Endianness | ) | ||
throw | ( | ||||
) |
Changes the endianness of the header to the specified one Returns 'true' if a change was necessary
Rnp::Endianness rnp::RnpHeader::getEndianness | ( | ) | const | |
throw | ( | |||
) |
Returns the message endianness.
RnpFragmentHeader* rnp::RnpHeader::getFirstFragment | ( | ) | const | |
throw | ( | |||
) |
Returns a pointer to the first fragment. Header has to be in host endianness.
RnpQuark rnp::RnpHeader::getTotalLength | ( | ) | const | |
throw | ( | |||
) |
Returns the total length of the message, regardless of endianness.
bool rnp::RnpHeader::isRnpMessage | ( | ) | const | |
throw | ( | |||
) |
Returns 'true' if this is a valid RNP header.
RnpQuark rnp::RnpHeader::_unused[5] |
RnpQuark rnp::RnpHeader::authInfoLength |
RnpQuark rnp::RnpHeader::authInfoStart |
RnpQuark rnp::RnpHeader::comprInfoLength |
RnpQuark rnp::RnpHeader::comprInfoStart |
RnpQuark rnp::RnpHeader::dataLength |
RnpQuark rnp::RnpHeader::dataStart |
char rnp::RnpHeader::desiredEndianness |
char rnp::RnpHeader::majorVersion |
char rnp::RnpHeader::messageEndianness |
char rnp::RnpHeader::minorVersion |
RnpQuark rnp::RnpHeader::nrFragments |
RnpQuark rnp::RnpHeader::protocolId |
RnpQuark rnp::RnpHeader::serverType |
RnpQuark rnp::RnpHeader::totalMessageLength |