#include <connectiontcpserver.h>
Inherits ConnectionTCPBase.
Inheritance diagram for ConnectionTCPServer:

Public Member Functions | |
| ConnectionTCPServer (ConnectionHandler *ch, const LogSink &logInstance, const std::string &ip, int port) | |
| virtual | ~ConnectionTCPServer () |
| virtual ConnectionError | recv (int timeout=-1) |
| virtual ConnectionError | connect () |
| virtual ConnectionBase * | newInstance () const |
You should not need to use this class directly.
Definition at line 36 of file connectiontcpserver.h.
|
||||||||||||||||||||
|
Constructs a new ConnectionTCPServer object.
Definition at line 59 of file connectiontcpserver.cpp. |
|
|
Virtual destructor Definition at line 66 of file connectiontcpserver.cpp. |
|
|
This function actually starts Implements ConnectionBase. Definition at line 75 of file connectiontcpserver.cpp. |
|
|
This function returns a new instance of the current ConnectionBase-derived object. The idea is to be able to 'clone' ConnectionBase-derived objects without knowing of what type they are exactly.
Implements ConnectionBase. Definition at line 70 of file connectiontcpserver.cpp. |
|
|
Use this periodically to receive data from the socket.
Implements ConnectionBase. Definition at line 128 of file connectiontcpserver.cpp. |
1.4.1