knode
KNNntpClient Class Reference
#include <knnntpclient.h>

Detailed Description
Definition at line 27 of file knnntpclient.h.
Public Member Functions | |
| KNNntpClient (int NfdPipeIn, int NfdPipeOut, QMutex &nntpMutex) | |
| ~KNNntpClient () | |
Protected Member Functions | |
| void | doCheckNewGroups () |
| void | doFetchArticle () |
| void | doFetchGroups () |
| void | doFetchNewHeaders () |
| void | doFetchSource () |
| void | doLoadGroups () |
| void | doPostArticle () |
| virtual void | handleErrors () |
| virtual bool | openConnection () |
| virtual void | processJob () |
| virtual bool | sendCommand (const QByteArray &cmd, int &rep) |
| bool | switchToGroup (const QString &newGroup) |
Protected Attributes | |
| QString | currentGroup |
| QMutex & | mutex |
Constructor & Destructor Documentation
| KNNntpClient::KNNntpClient | ( | int | NfdPipeIn, | |
| int | NfdPipeOut, | |||
| QMutex & | nntpMutex | |||
| ) |
Definition at line 29 of file knnntpclient.cpp.
| KNNntpClient::~KNNntpClient | ( | ) |
Definition at line 34 of file knnntpclient.cpp.
Member Function Documentation
| void KNNntpClient::doCheckNewGroups | ( | ) | [protected] |
Definition at line 222 of file knnntpclient.cpp.
| void KNNntpClient::doFetchArticle | ( | ) | [protected] |
Definition at line 455 of file knnntpclient.cpp.
| void KNNntpClient::doFetchGroups | ( | ) | [protected] |
Definition at line 83 of file knnntpclient.cpp.
| void KNNntpClient::doFetchNewHeaders | ( | ) | [protected] |
Definition at line 336 of file knnntpclient.cpp.
| void KNNntpClient::doFetchSource | ( | ) | [protected] |
Definition at line 553 of file knnntpclient.cpp.
| void KNNntpClient::doLoadGroups | ( | ) | [protected] |
Definition at line 73 of file knnntpclient.cpp.
| void KNNntpClient::doPostArticle | ( | ) | [protected] |
Definition at line 510 of file knnntpclient.cpp.
| void KNNntpClient::handleErrors | ( | ) | [protected, virtual] |
interprets error code, generates error message and closes the connection
Reimplemented from KNProtocolClient.
Definition at line 737 of file knnntpclient.cpp.
| bool KNNntpClient::openConnection | ( | ) | [protected, virtual] |
connect, handshake
Reimplemented from KNProtocolClient.
Definition at line 578 of file knnntpclient.cpp.
| void KNNntpClient::processJob | ( | ) | [protected, virtual] |
examines the job and calls the suitable handling method
Reimplemented from KNProtocolClient.
Definition at line 39 of file knnntpclient.cpp.
| bool KNNntpClient::sendCommand | ( | const QByteArray & | cmd, | |
| int & | rep | |||
| ) | [protected, virtual] |
authentication on demand
Reimplemented from KNProtocolClient.
Definition at line 680 of file knnntpclient.cpp.
| bool KNNntpClient::switchToGroup | ( | const QString & | newGroup | ) | [protected] |
Member Data Documentation
QString KNNntpClient::currentGroup [protected] |
Definition at line 54 of file knnntpclient.h.
QMutex& KNNntpClient::mutex [protected] |
Definition at line 55 of file knnntpclient.h.
The documentation for this class was generated from the following files:
KDE 4.1 API Reference