|
OPeNDAP Hyrax Back End Server (BES)
Updated for version 3.8.3
|
#include <UnixSocket.h>


Public Member Functions | |
| virtual bool | allowConnection () |
| is there any wrapper code for unix sockets More... | |
| virtual void | close () |
| virtual void | connect () |
| virtual void | dump (ostream &strm) const |
| dumps information about this object More... | |
| 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 string &unixSocket) | |
| UnixSocket (int socket, struct sockaddr *addr) | |
| virtual | ~UnixSocket () |
Protected Attributes | |
| bool | _addr_set |
| bool | _connected |
| std::string | _ip |
| bool | _listening |
| unsigned int | _port |
| int | _socket |
Definition at line 44 of file UnixSocket.h.
|
inline |
Definition at line 50 of file UnixSocket.h.
Referenced by newSocket().
|
inline |
Definition at line 53 of file UnixSocket.h.
|
inlinevirtual |
Definition at line 58 of file UnixSocket.h.
|
virtual |
is there any wrapper code for unix sockets
Implements Socket.
Definition at line 256 of file UnixSocket.cc.
|
virtual |
Reimplemented from Socket.
Definition at line 231 of file UnixSocket.cc.
References Socket::_connected, Socket::_listening, and Socket::close().
Referenced by connect(), and ServerApp::terminate().

|
virtual |
Implements Socket.
Definition at line 48 of file UnixSocket.cc.
References Socket::_connected, Socket::_listening, Socket::_socket, close(), and SocketUtilities::create_temp_name().

|
virtual |
dumps information about this object
Displays the pointer value of this instance
| strm | C++ i/o stream to dump the information to |
Reimplemented from Socket.
Definition at line 268 of file UnixSocket.cc.
References Socket::dump(), BESIndent::Indent(), BESIndent::LMarg(), and BESIndent::UnIndent().
Referenced by ServerApp::dump().

|
inlineinherited |
Definition at line 86 of file Socket.h.
References Socket::_ip.
Referenced by SocketListener::accept(), and DaemonCommandHandler::handle().
|
inlineinherited |
Definition at line 82 of file Socket.h.
References Socket::_port.
Referenced by SocketListener::accept(), and DaemonCommandHandler::handle().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtualinherited |
Definition at line 78 of file Socket.h.
References Socket::_socket.
Referenced by SocketListener::accept(), TcpSocket::allowConnection(), DaemonCommandHandler::handle(), SocketListener::listen(), and PPTConnection::readBufferNonBlocking().
|
inlinevirtualinherited |
Definition at line 61 of file Socket.h.
References Socket::_connected.
Referenced by Connection::isConnected(), SocketListener::listen(), and PPTClient::PPTClient().
|
inlinevirtualinherited |
Definition at line 66 of file Socket.h.
References Socket::_listening.
Referenced by SocketListener::listen().
|
virtual |
Implements Socket.
Definition at line 156 of file UnixSocket.cc.
References Socket::_connected, Socket::_listening, and Socket::_socket.
|
inlinevirtual |
Implements Socket.
Definition at line 72 of file UnixSocket.h.
References UnixSocket().

|
virtualinherited |
Definition at line 98 of file Socket.cc.
References Socket::_socket, and BESLog::TheLog().
Referenced by PPTConnection::readBuffer().

|
virtualinherited |
Definition at line 86 of file Socket.cc.
References Socket::_socket.
Referenced by PPTConnection::send().
|
protectedinherited |
Definition at line 49 of file Socket.h.
Referenced by Socket::dump().
|
protectedinherited |
Definition at line 45 of file Socket.h.
Referenced by close(), Socket::close(), connect(), TcpSocket::connect(), Socket::dump(), Socket::isConnected(), listen(), and TcpSocket::listen().
|
protectedinherited |
Definition at line 47 of file Socket.h.
Referenced by Socket::dump(), Socket::getIp(), and Socket::Socket().
|
protectedinherited |
Definition at line 46 of file Socket.h.
Referenced by close(), Socket::close(), connect(), TcpSocket::connect(), Socket::dump(), Socket::isListening(), listen(), and TcpSocket::listen().
|
protectedinherited |
Definition at line 48 of file Socket.h.
Referenced by Socket::dump(), Socket::getPort(), and Socket::Socket().
|
protectedinherited |
Definition at line 44 of file Socket.h.
Referenced by Socket::close(), connect(), TcpSocket::connect(), Socket::dump(), TcpSocket::getRecvBufferSize(), TcpSocket::getSendBufferSize(), Socket::getSocketDescriptor(), listen(), TcpSocket::listen(), Socket::receive(), and Socket::send().