bes
Updated for version 3.20.6
|
75 std::ostream * _strm ;
79 size_t readLine( std::string &str ) ;
81 bool executeCommand(
const std::string &cmd,
87 _strmCreated(
false ),
88 _isInteractive(
false ) {}
97 void setOutput( std::ostream *strm,
bool created ) ;
107 virtual void dump( std::ostream &strm )
const ;
110 #endif // CmdClient_h
void brokenPipe()
inform the server that there has been a borken pipe
void shutdownClient()
Closes the connection to the OpeNDAP server and closes the output stream.
virtual void dump(std::ostream &strm) const
dumps information about this object
bool interact()
An interactive BES client that takes BES requests on the command line.
top level BES object to house generic methods
void startClient(const std::string &host, int portVal, int timeout)
Connect the BES client to the BES server.
bool executeClientCommand(const std::string &cmd)
Executes a client side command.
bool isConnected()
return whether the client is connected to the BES
void setOutput(std::ostream *strm, bool created)
Set the output stream for responses from the BES server.
bool executeCommands(const std::string &cmd, int repeat)
Send the command(s) specified to the BES server after wrapping in request document.