#include <connectiontcpclient.h>
Inherits ConnectionTCPBase.
Inheritance diagram for ConnectionTCPClient:


Public Member Functions | |
| ConnectionTCPClient (const LogSink &logInstance, const std::string &server, int port=-1) | |
| ConnectionTCPClient (ConnectionDataHandler *cdh, const LogSink &logInstance, const std::string &server, int port=-1) | |
| virtual | ~ConnectionTCPClient () |
| virtual ConnectionError | recv (int timeout=-1) |
| virtual ConnectionError | connect () |
| virtual ConnectionBase * | newInstance () const |
You should only need to use this class directly if you need access to some special feature, like the raw socket(), or if you need HTTP proxy support (see gloox::ConnectionHTTPProxy for more information).
Definition at line 36 of file connectiontcpclient.h.
|
||||||||||||||||
|
Constructs a new ConnectionTCPClient object.
Definition at line 45 of file connectiontcpclient.cpp. |
|
||||||||||||||||||||
|
Constructs a new ConnectionTCPClient object.
Definition at line 51 of file connectiontcpclient.cpp. |
|
|
Virtual destructor Definition at line 58 of file connectiontcpclient.cpp. |
|
|
Used to initiate the connection.
Implements ConnectionBase. Definition at line 67 of file connectiontcpclient.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 62 of file connectiontcpclient.cpp. |
|
|
Use this periodically to receive data from the socket and to feed the parser.
Implements ConnectionBase. Definition at line 125 of file connectiontcpclient.cpp. |
1.4.1