bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
|
#include <StandAloneClient.h>
Public Member Functions | |
virtual void | dump (std::ostream &strm) const |
dump the contents of this object to the specified ostream | |
void | executeClientCommand (const std::string &cmd) |
void | executeCommands (const std::string &cmd_list, int repeat) |
void | executeCommands (std::ifstream &inputFile, int repeat) |
std::ostream & | getOutput () const |
void | interact () |
void | setOutput (std::ostream *strm, bool created) |
StandAloneClient is an object that handles the connection to, sending requests to, and receiving response from a specified OpenDAP server running either on this machine or another machine.
Requests to the OpenDAP server can be taken in different ways by the StandAloneClient object.
Response from the requests can sent to any File or OutputStream as specified by using the setOutput methods. If no output is specified using the setOutput methods thent he output is ignored.
Thread safety of this object has not yet been determined.
Definition at line 69 of file StandAloneClient.h.
|
inline |
Definition at line 82 of file StandAloneClient.h.
|
virtual |
dump the contents of this object to the specified ostream
This method is implemented by all derived classes to dump their contents, in other words, any state they might have, private variables, etc...
The inline function below can be used to dump the contents of an OPeNDAPObj object. For example, the object Animal is derived from BESObj. A user could do the following:
Animal *a = new dog( "Sparky" ) ; cout << a << endl ;
And the dump method for dog could display the name passed into the constructor, the (this) pointer of the object, etc...
strm | C++ i/o stream to dump the object to |
Implements BESObj.
|
inlinenodiscard |
Definition at line 88 of file StandAloneClient.h.