bes  Updated for version 3.17.0
UnixSocket Class Reference
Inheritance diagram for UnixSocket:
Inheritance 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 (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 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 44 of file UnixSocket.h.

Member Function Documentation

bool UnixSocket::allowConnection ( )
virtual

Implements Socket.

Definition at line 235 of file UnixSocket.cc.

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

Displays the pointer value of this instance

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

Reimplemented from Socket.

Definition at line 246 of file UnixSocket.cc.

References Socket::dump().


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