rasdaman complete source
Public Member Functions | Protected Attributes | List of all members
rnp::RnpCarrier Class Reference

#include <rnpembedded.hh>

Inheritance diagram for rnp::RnpCarrier:
rnp::BadRnpCarrier rnp::HttpRnpCarrier

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...
 

Detailed Description

Base class for the various carriers, is itself the RNP carrier

Constructor & Destructor Documentation

rnp::RnpCarrier::RnpCarrier ( )
throw (
)

Default constructor.

virtual rnp::RnpCarrier::~RnpCarrier ( )
throw (
)
virtual

Virtual destructor.

Member Function Documentation

virtual int rnp::RnpCarrier::getAnswerHeaderLength ( )
throw (
)
virtual

Returns the length of the answer header.

Reimplemented in rnp::BadRnpCarrier, and rnp::HttpRnpCarrier.

virtual int rnp::RnpCarrier::getRequestHeaderLength ( )
throw (
)
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 void rnp::RnpCarrier::putHeader ( akg::CommBuffer )
throw (
)
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.

Member Data Documentation

bool rnp::RnpCarrier::requestHeader
protected

Flag for 'putHeader' to know which header to write.

RnpTransport::CarrierProtocol rnp::RnpCarrier::type
protected

The type of the carrier.


The documentation for this class was generated from the following file: