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