|
virtual bool | allowConnection ()=0 |
|
virtual void | close () |
|
virtual void | connect ()=0 |
|
virtual void | dump (std::ostream &strm) const |
| dumps information about this object More...
|
|
std::string | getIp () |
|
unsigned int | getPort () |
|
virtual unsigned int | getRecvBufferSize ()=0 |
|
virtual unsigned int | getSendBufferSize ()=0 |
|
virtual int | getSocketDescriptor () |
|
virtual bool | isConnected () |
|
virtual bool | isListening () |
|
virtual void | listen ()=0 |
|
virtual Socket * | newSocket (int socket, struct sockaddr *addr)=0 |
|
virtual int | receive (char *inBuff, const int inSize) |
|
virtual void | send (const std::string &str, int start, int end) |
|
| Socket (int socket, struct sockaddr *addr) |
|
|
bool | _addr_set |
|
bool | _connected |
|
std::string | _ip |
|
bool | _listening |
|
unsigned int | _port |
|
int | _socket |
|
Definition at line 42 of file Socket.h.
◆ dump()
void Socket::dump |
( |
std::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 |
Implements BESObj.
Reimplemented in TcpSocket, and UnixSocket.
Definition at line 137 of file Socket.cc.
The documentation for this class was generated from the following files: