NNTPProtocol Class Reference
NNTP KIO slave. More...
#include <nntp.h>
Inherits KIO::TCPSlaveBase.
Public Member Functions | |
NNTPProtocol (const QByteArray &pool, const QByteArray &app, bool isSSL) | |
virtual void | get (const KUrl &url) |
virtual void | listDir (const KUrl &url) |
virtual void | put (const KUrl &url, int permissions, KIO::JobFlags flags) |
virtual void | setHost (const QString &host, quint16 port, const QString &user, const QString &pass) |
virtual void | special (const QByteArray &data) |
virtual void | stat (const KUrl &url) |
Protected Member Functions | |
void | nntp_close () |
bool | nntp_open () |
bool | post_article () |
int | sendCommand (const QString &cmd) |
Detailed Description
NNTP KIO slave.
- References
- RFC 850: Standard for interchange of USENET messages
- RFC 2980: Common NNTP Extensions (updated by RFC 3977)
- RFC 3977: Network News Transfer Protocol
- RFC 4643: Network News Transfer Protocol (NNTP) Extension for Authentication
Constructor & Destructor Documentation
NNTPProtocol::NNTPProtocol | ( | const QByteArray & | pool, |
const QByteArray & | app, | ||
bool | isSSL | ||
) |
Member Function Documentation
void NNTPProtocol::nntp_close | ( | ) | [protected] |
bool NNTPProtocol::nntp_open | ( | ) | [protected] |
bool NNTPProtocol::post_article | ( | ) | [protected] |
int NNTPProtocol::sendCommand | ( | const QString & | cmd | ) | [protected] |
void NNTPProtocol::special | ( | const QByteArray & | data | ) | [virtual] |
Special command: 1 = post article it takes no other args, the article data are requested by dataReq() and should be valid as in RFC850.
It's not checked for correctness here.
- Deprecated:
- use put() for posting
The documentation for this class was generated from the following files: