bes  Updated for version 3.20.6
UnixSocket Class Reference
Collaboration diagram for UnixSocket:
Collaboration graph

Public Member Functions

virtual bool allowConnection ()
 is there any wrapper code for unix sockets More...
 
virtual void close ()
 
virtual void connect ()
 
virtual void dump (std::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 SocketnewSocket (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
 

Detailed Description

Definition at line 42 of file UnixSocket.h.

Member Function Documentation

◆ allowConnection()

bool UnixSocket::allowConnection ( )
virtual

is there any wrapper code for unix sockets

Implements Socket.

Definition at line 239 of file UnixSocket.cc.

◆ dump()

void UnixSocket::dump ( std::ostream &  strm) const
virtual

dumps information about this object

Displays the pointer value of this instance

Parameters
strmC++ i/o stream to dump the information to

Reimplemented from Socket.

Definition at line 250 of file UnixSocket.cc.


The documentation for this class was generated from the following files: