bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
|
Public Member Functions | |
virtual bool | allowConnection () |
virtual void | close () |
virtual void | connect () |
virtual void | dump (std::ostream &strm) const |
dump the contents of this object to the specified ostream | |
std::string | getIp () |
unsigned int | getPort () |
virtual unsigned int | getRecvBufferSize () |
virtual unsigned int | getSendBufferSize () |
virtual int | getSocketDescriptor () |
virtual bool | isConnected () |
virtual bool | isListening () |
virtual void | listen () |
virtual Socket * | newSocket (int socket, struct sockaddr *addr) |
virtual int | receive (char *inBuff, const int inSize) |
virtual void | send (const std::string &str, int start, int end) |
UnixSocket (const std::string &unixSocket) | |
UnixSocket (int socket, struct sockaddr *addr) | |
Protected Attributes | |
bool | _addr_set |
bool | _connected |
std::string | _ip |
bool | _listening |
unsigned int | _port |
int | _socket |
Definition at line 42 of file UnixSocket.h.
|
inline |
Definition at line 48 of file UnixSocket.h.
|
inline |
Definition at line 51 of file UnixSocket.h.
|
inlinevirtual |
Definition at line 56 of file UnixSocket.h.
|
virtual |
Reimplemented from Socket.
|
virtual |
Implements Socket.
|
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 |
Reimplemented from Socket.
|
inlinevirtual |
Implements Socket.
Definition at line 61 of file UnixSocket.h.
|
inlinevirtual |
Implements Socket.
Definition at line 65 of file UnixSocket.h.
|
inlinevirtualinherited |
|
virtual |
Implements Socket.
Implements Socket.
Definition at line 70 of file UnixSocket.h.