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 ;
top level BES object to house generic methods
void brokenPipe()
inform the server that there has been a borken pipe
bool executeCommands(const std::string &cmd, int repeat)
Send the command(s) specified to the BES server after wrapping in request document.
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 interact()
An interactive BES client that takes BES requests on the command line.
bool isConnected()
return whether the client is connected to the BES
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
void setOutput(std::ostream *strm, bool created)
Set the output stream for responses from the BES server.