PPTClient Class Reference

#include <PPTClient.h>

Inheritance diagram for PPTClient:

Inheritance graph
[legend]
Collaboration diagram for PPTClient:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PPTClient (const string &hostStr, int portVal, int timeout)
 PPTClient (const string &unix_socket, int timeout)
 ~PPTClient ()
virtual void initConnection ()
virtual void closeConnection ()
virtual void dump (ostream &strm) const
 dumps information about this object
virtual void send (const string &buffer)
virtual void sendExit ()
virtual bool receive (ostream *strm=0)
virtual SocketgetSocket ()
virtual bool isConnected ()
virtual void setOutputStream (ostream *strm)
virtual ostream * getOutputStream ()
virtual void brokenPipe ()

Protected Member Functions

void writeBuffer (const string &buffer)
int readBuffer (char *inBuff)
int readBufferNonBlocking (char *inBuff)

Protected Attributes

Socket_mySock
ostream * _out
bool _brokenPipe

Constructor & Destructor Documentation

PPTClient::PPTClient ( const string &  hostStr,
int  portVal,
int  timeout 
)

PPTClient::PPTClient ( const string &  unix_socket,
int  timeout 
)

PPTClient::~PPTClient (  ) 


Member Function Documentation

virtual void Connection::brokenPipe (  )  [inline, virtual, inherited]

void PPTClient::closeConnection (  )  [virtual]

Implements PPTConnection.

void PPTClient::dump ( ostream &  strm  )  const [virtual]

dumps information about this object

Displays the pointer value of this instance

Parameters:
strm C++ i/o stream to dump the information to

Reimplemented from PPTConnection.

virtual ostream* Connection::getOutputStream (  )  [inline, virtual, inherited]

virtual Socket* Connection::getSocket (  )  [inline, virtual, inherited]

void PPTClient::initConnection (  )  [virtual]

Implements PPTConnection.

virtual bool Connection::isConnected (  )  [inline, virtual, inherited]

Here is the call graph for this function:

int PPTConnection::readBuffer ( char *  inBuff  )  [protected, inherited]

int PPTConnection::readBufferNonBlocking ( char *  inBuff  )  [protected, inherited]

bool PPTConnection::receive ( ostream *  strm = 0  )  [virtual, inherited]

Implements Connection.

void PPTConnection::send ( const string &  buffer  )  [virtual, inherited]

Implements Connection.

void PPTConnection::sendExit (  )  [virtual, inherited]

Implements Connection.

virtual void Connection::setOutputStream ( ostream *  strm  )  [inline, virtual, inherited]

void PPTConnection::writeBuffer ( const string &  buffer  )  [protected, inherited]


Member Data Documentation

bool Connection::_brokenPipe [protected, inherited]

Socket* Connection::_mySock [protected, inherited]

ostream* Connection::_out [protected, inherited]


The documentation for this class was generated from the following files:
Generated on Wed Nov 21 12:20:36 2007 for OPeNDAP Back End Server (BES) by  doxygen 1.4.7