bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
FODmrppTransmitter Class Reference

BESTransmitter class named "dmrpp" that transmits an OPeNDAP data object as a DMRPP file. More...

#include <FODmrppTransmitter.h>

Inheritance diagram for FODmrppTransmitter:
Inheritance graph
Collaboration diagram for FODmrppTransmitter:
Collaboration graph

Public Member Functions

virtual bool add_method (std::string method_name, p_transmitter trans_method)
 
virtual void dump (std::ostream &strm) const
 dumps information about this object
 
virtual p_transmitter find_method (std::string method_name)
 
 FODmrppTransmitter ()
 BESTransmitter class named "dmrpp" that transmits an OPeNDAP data object as a DMRPP file.
 
virtual bool remove_method (std::string method_name)
 
virtual void send_html (BESInfo &info, BESDataHandlerInterface &dhi)
 
virtual void send_response (const std::string &method, BESResponseObject *obj, BESDataHandlerInterface &dhi)
 
virtual void send_text (BESInfo &info, BESDataHandlerInterface &dhi)
 

Static Public Member Functions

static void send_dmrpp (BESResponseObject *obj, BESDataHandlerInterface &dhi)
 The static method registered to transmit OPeNDAP DMRPP XML metadata.
 

Detailed Description

BESTransmitter class named "dmrpp" that transmits an OPeNDAP data object as a DMRPP file.

The FoDapDmrppTransmitter transforms an OPeNDAP DMR object into a DMRPP file and streams the new (temporary) DMRPP file back to the client.

See also
BESTransmitter

Definition at line 45 of file FODmrppTransmitter.h.

Constructor & Destructor Documentation

◆ FODmrppTransmitter()

FODmrppTransmitter::FODmrppTransmitter ( )

BESTransmitter class named "dmrpp" that transmits an OPeNDAP data object as a DMRPP file.

The FoDapDmrppTransmitter transforms an OPeNDAP DMR object into a DMRPP file and streams the new (temporary) DMRPP file back to the client.

Definition at line 81 of file FODmrppTransmitter.cc.

◆ ~FODmrppTransmitter()

virtual FODmrppTransmitter::~FODmrppTransmitter ( )
inlinevirtual

Definition at line 49 of file FODmrppTransmitter.h.

Member Function Documentation

◆ add_method()

bool BESTransmitter::add_method ( std::string method_name,
p_transmitter trans_method )
virtualinherited

Definition at line 56 of file BESTransmitter.cc.

◆ dump()

void BESTransmitter::dump ( std::ostream & strm) const
virtualinherited

dumps information about this object

Displays the pointer value of this instance along with the names of register transmit methods

Parameters
strmC++ i/o stream to dump the information to

Implements BESObj.

Definition at line 134 of file BESTransmitter.cc.

◆ find_method()

p_transmitter BESTransmitter::find_method ( std::string method_name)
virtualinherited

Definition at line 78 of file BESTransmitter.cc.

◆ remove_method()

bool BESTransmitter::remove_method ( std::string method_name)
virtualinherited

Definition at line 67 of file BESTransmitter.cc.

◆ send_dmrpp()

void FODmrppTransmitter::send_dmrpp ( BESResponseObject * obj,
BESDataHandlerInterface & dhi )
static

The static method registered to transmit OPeNDAP DMRPP XML metadata.

Follow the send_dmrpp()

This function takes the OPeNDAP DMR object, reads in the data (can be used with any data handler), transforms the DMR into a DMRPP, and streams back that DMRPP XML back to the requester using the stream specified in the BESDataHandlerInterface.

Parameters
objThe BESResponseObject containing the OPeNDAP DataDDS object
dhiBESDataHandlerInterface containing information about the request and response
Exceptions
BESInternalErrorif the response is not an OPeNDAP DMR or if there are any problems reading the data, generating DMRPP XML, or streaming the DMRPP XML

Definition at line 103 of file FODmrppTransmitter.cc.

◆ send_html()

void BESTransmitter::send_html ( BESInfo & info,
BESDataHandlerInterface & dhi )
virtualinherited

Definition at line 114 of file BESTransmitter.cc.

◆ send_response()

void BESTransmitter::send_response ( const std::string & method,
BESResponseObject * obj,
BESDataHandlerInterface & dhi )
virtualinherited

Definition at line 89 of file BESTransmitter.cc.

◆ send_text()

void BESTransmitter::send_text ( BESInfo & info,
BESDataHandlerInterface & dhi )
virtualinherited

Definition at line 101 of file BESTransmitter.cc.


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