Definition at line 42 of file Socket.h.
◆ Socket() [1/2]
◆ Socket() [2/2]
Socket::Socket |
( |
int |
socket, |
|
|
struct sockaddr * |
addr |
|
) |
| |
◆ ~Socket()
virtual Socket::~Socket |
( |
| ) |
|
|
inlinevirtual |
◆ allowConnection()
virtual bool Socket::allowConnection |
( |
| ) |
|
|
pure virtual |
◆ close()
◆ 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.
◆ getIp()
std::string Socket::getIp |
( |
| ) |
|
|
inline |
◆ getPort()
unsigned int Socket::getPort |
( |
| ) |
|
|
inline |
◆ getRecvBufferSize()
virtual unsigned int Socket::getRecvBufferSize |
( |
| ) |
|
|
pure virtual |
◆ getSendBufferSize()
virtual unsigned int Socket::getSendBufferSize |
( |
| ) |
|
|
pure virtual |
◆ getSocketDescriptor()
virtual int Socket::getSocketDescriptor |
( |
| ) |
|
|
inlinevirtual |
◆ isConnected()
virtual bool Socket::isConnected |
( |
| ) |
|
|
inlinevirtual |
◆ isListening()
virtual bool Socket::isListening |
( |
| ) |
|
|
inlinevirtual |
◆ receive()
int Socket::receive |
( |
char * |
inBuff, |
|
|
const int |
inSize |
|
) |
| |
|
virtual |
◆ send()
void Socket::send |
( |
const std::string & |
str, |
|
|
int |
start, |
|
|
int |
end |
|
) |
| |
|
virtual |
◆ _addr_set
◆ _connected
◆ _ip
◆ _listening
◆ _port
unsigned int Socket::_port |
|
protected |
◆ _socket
The documentation for this class was generated from the following files: