rasdaman complete source
|
#include <rnpembedded.hh>
Public Member Functions | |
RnpCarrier () throw () | |
Default constructor. More... | |
virtual | ~RnpCarrier () throw () |
Virtual destructor. More... | |
RnpTransport::CarrierProtocol | getType () throw () |
Returns the type of the object. More... | |
virtual int | getRequestHeaderLength () throw () |
Returns the length of the request header. More... | |
virtual int | getAnswerHeaderLength () throw () |
Returns the length of the answer header. More... | |
virtual void | putHeader (akg::CommBuffer *) throw () |
Protected Attributes | |
RnpTransport::CarrierProtocol | type |
The type of the carrier. More... | |
bool | requestHeader |
Flag for 'putHeader' to know which header to write. More... | |
Base class for the various carriers, is itself the RNP carrier
rnp::RnpCarrier::RnpCarrier | ( | ) | ||
throw | ( | |||
) |
Default constructor.
|
virtual |
Virtual destructor.
|
virtual |
Returns the length of the answer header.
Reimplemented in rnp::BadRnpCarrier, and rnp::HttpRnpCarrier.
|
virtual |
Returns the length of the request header.
Reimplemented in rnp::BadRnpCarrier, and rnp::HttpRnpCarrier.
RnpTransport::CarrierProtocol rnp::RnpCarrier::getType | ( | ) | ||
throw | ( | |||
) |
Returns the type of the object.
|
virtual |
Write the header directly into the reserved space of the buffer, since the rest of the message is already there
Reimplemented in rnp::BadRnpCarrier, and rnp::HttpRnpCarrier.
|
protected |
Flag for 'putHeader' to know which header to write.
|
protected |
The type of the carrier.