kopete/protocols/messenger/libpapillon
Papillon::ClientStream Class Reference
#include <Papillon/ClientStream>
Inheritance diagram for Papillon::ClientStream:

Detailed Description
A client stream to a Messenger service.
Definition at line 33 of file papillonclientstream.h.
Signals | |
| void | connected () |
Public Member Functions | |
| ClientStream (Connector *connector, QObject *parent=0) | |
| virtual void | close () |
| void | connectToServer (const QString &server, quint16 port) |
| virtual int | errorCondition () const |
| virtual QString | errorText () const |
| virtual bool | networkMessagesAvailable () const |
| virtual NetworkMessage * | read () |
| void | reset (bool all) |
| virtual void | write (NetworkMessage *networkMessage) |
| ~ClientStream () | |
Constructor & Destructor Documentation
Definition at line 48 of file papillonclientstream.cpp.
| Papillon::ClientStream::~ClientStream | ( | ) |
Definition at line 58 of file papillonclientstream.cpp.
Member Function Documentation
| void Papillon::ClientStream::close | ( | ) | [virtual] |
| void Papillon::ClientStream::connected | ( | ) | [signal] |
| void Papillon::ClientStream::connectToServer | ( | const QString & | server, | |
| quint16 | port | |||
| ) |
Definition at line 63 of file papillonclientstream.cpp.
| int Papillon::ClientStream::errorCondition | ( | ) | const [virtual] |
| QString Papillon::ClientStream::errorText | ( | ) | const [virtual] |
| bool Papillon::ClientStream::networkMessagesAvailable | ( | ) | const [virtual] |
Are there any messages waiting to be read.
Implements Papillon::Stream.
Definition at line 147 of file papillonclientstream.cpp.
| NetworkMessage * Papillon::ClientStream::read | ( | ) | [virtual] |
Read a message received from the server.
Implements Papillon::Stream.
Definition at line 152 of file papillonclientstream.cpp.
| void Papillon::ClientStream::reset | ( | bool | all | ) |
Definition at line 84 of file papillonclientstream.cpp.
| void Papillon::ClientStream::write | ( | NetworkMessage * | request | ) | [virtual] |
Send a message to the server.
Implements Papillon::Stream.
Definition at line 160 of file papillonclientstream.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference