OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
#include <Connection.h>
Public Member Functions | |
virtual void | brokenPipe () |
virtual void | closeConnection ()=0 |
virtual void | dump (ostream &strm) const |
dumps information about this object More... | |
virtual string | exit ()=0 |
virtual ostream * | getOutputStream () |
virtual unsigned int | getRecvChunkSize ()=0 |
virtual unsigned int | getSendChunkSize ()=0 |
virtual Socket * | getSocket () |
virtual void | initConnection ()=0 |
virtual bool | isConnected () |
virtual bool | receive (map< string, string > &extensions, ostream *strm=0)=0 |
virtual void | send (const string &buffer, map< string, string > &extensions)=0 |
virtual void | sendExit ()=0 |
virtual void | sendExtensions (map< string, string > &extensions)=0 |
virtual void | setOutputStream (ostream *strm) |
virtual | ~Connection () |
Protected Member Functions | |
Connection () | |
virtual void | send (const string &buffer)=0 |
virtual void | sendChunk (const string &buffer, map< string, string > &extensions)=0 |
Protected Attributes | |
bool | _brokenPipe |
Socket * | _mySock |
ostream * | _out |
Definition at line 47 of file Connection.h.
|
inlineprotected |
Definition at line 54 of file Connection.h.
References send(), and sendChunk().
|
inlinevirtual |
Definition at line 63 of file Connection.h.
References closeConnection(), exit(), initConnection(), receive(), send(), sendExit(), and sendExtensions().
|
inlinevirtual |
Definition at line 98 of file Connection.h.
References dump(), getRecvChunkSize(), and getSendChunkSize().
Referenced by CmdClient::brokenPipe().
|
pure virtual |
Implemented in PPTConnection, PPTServer, SSLConnection, and PPTClient.
Referenced by BESServerHandler::handle(), and ~Connection().
|
virtual |
dumps information about this object
Displays the pointer value of this instance
strm | C++ i/o stream to dump the information to |
Implements BESObj.
Reimplemented in PPTConnection, SSLConnection, SSLClient, SSLServer, PPTServer, and PPTClient.
Definition at line 42 of file Connection.cc.
References _brokenPipe, _mySock, _out, Socket::dump(), BESIndent::Indent(), BESIndent::LMarg(), and BESIndent::UnIndent().
Referenced by brokenPipe(), SSLConnection::dump(), and PPTConnection::dump().
|
pure virtual |
Implemented in PPTConnection, and SSLConnection.
Referenced by BESServerHandler::handle(), and ~Connection().
|
inlinevirtual |
Definition at line 93 of file Connection.h.
References _out.
|
pure virtual |
Implemented in PPTConnection, and SSLConnection.
Referenced by brokenPipe().
|
pure virtual |
Implemented in PPTConnection, and SSLConnection.
Referenced by brokenPipe(), and BESServerHandler::handle().
|
inlinevirtual |
Definition at line 77 of file Connection.h.
References _mySock.
Referenced by BESServerHandler::handle(), and PPTConnection::readBufferNonBlocking().
|
pure virtual |
Implemented in PPTConnection, SSLClient, SSLServer, PPTServer, and PPTClient.
Referenced by ~Connection().
|
inlinevirtual |
Definition at line 82 of file Connection.h.
References Socket::isConnected().
Referenced by CmdClient::isConnected().
|
pure virtual |
Implemented in PPTConnection, and SSLConnection.
Referenced by BESServerHandler::handle(), and ~Connection().
|
protectedpure virtual |
Implemented in PPTConnection, and SSLConnection.
Referenced by Connection(), and ~Connection().
|
pure virtual |
Implemented in PPTConnection, and SSLConnection.
|
protectedpure virtual |
Implemented in SSLConnection.
Referenced by Connection().
|
pure virtual |
Implemented in PPTConnection, and SSLConnection.
Referenced by ~Connection().
|
pure virtual |
Implemented in PPTConnection, and SSLConnection.
Referenced by BESServerHandler::handle(), and ~Connection().
|
inlinevirtual |
Definition at line 89 of file Connection.h.
|
protected |
Definition at line 52 of file Connection.h.
Referenced by PPTClient::closeConnection(), and dump().
|
protected |
Definition at line 50 of file Connection.h.
Referenced by PPTClient::closeConnection(), PPTServer::closeConnection(), dump(), PPTConnection::getRecvChunkSize(), PPTConnection::getSendChunkSize(), getSocket(), PPTServer::initConnection(), PPTClient::PPTClient(), PPTConnection::receive(), PPTConnection::send(), and PPTClient::~PPTClient().
|
protected |
Definition at line 51 of file Connection.h.
Referenced by dump(), getOutputStream(), and PPTConnection::receive().