kopete/protocols/messenger/libpapillon
Papillon::IpEndpointConnector Class Reference
#include <ipendpointconnector.h>

Detailed Description
Provides methods for connecting to an ip endpoint.
Definition at line 33 of file ipendpointconnector.h.
Public Types | |
| enum | State { Created = 0, Connecting = 1, Connected = 2, Closing = 4, Closed = 8, Faulted = 0x10 } |
Signals | |
| void | closed () |
| void | closing () |
| void | connected () |
| void | connecting () |
| void | faulted () |
Public Member Functions | |
| void | close () |
| void | connectWithAddressInfo (const QString &ipAddress, const quint16 port) |
| IpEndpointConnector (bool enableTls, QObject *parent=0) | |
| NetworkStream * | networkStream () |
| const State & | state () const |
| ~IpEndpointConnector () | |
Member Enumeration Documentation
Defines the possible states of an endpoint connector.
Definition at line 39 of file ipendpointconnector.h.
Constructor & Destructor Documentation
| Papillon::IpEndpointConnector::IpEndpointConnector | ( | bool | enableTls, | |
| QObject * | parent = 0 | |||
| ) | [explicit] |
Creates a new instance of the IpEndpointConnector class.
Definition at line 42 of file ipendpointconnector.cpp.
| Papillon::IpEndpointConnector::~IpEndpointConnector | ( | ) |
Frees resources and performs other cleanup operations.
Definition at line 55 of file ipendpointconnector.cpp.
Member Function Documentation
| void Papillon::IpEndpointConnector::close | ( | ) |
| void Papillon::IpEndpointConnector::closed | ( | ) | [signal] |
Indicates that the endpoint connector is closed.
| void Papillon::IpEndpointConnector::closing | ( | ) | [signal] |
Indicates that the endpoint connector is closing.
| void Papillon::IpEndpointConnector::connected | ( | ) | [signal] |
Indicates that the endpoint connector is connected.
| void Papillon::IpEndpointConnector::connecting | ( | ) | [signal] |
Indicates that the endpoint connector is connecting.
| void Papillon::IpEndpointConnector::connectWithAddressInfo | ( | const QString & | ipAddress, | |
| const quint16 | port | |||
| ) |
Connects the endpoint connector using the specified ipAddress and port.
Definition at line 97 of file ipendpointconnector.cpp.
| void Papillon::IpEndpointConnector::faulted | ( | ) | [signal] |
Indicates that the endpoint connector has faulted.
| NetworkStream * Papillon::IpEndpointConnector::networkStream | ( | ) |
Gets the underlying data stream between the connected ip endpoints.
Definition at line 61 of file ipendpointconnector.cpp.
| const IpEndpointConnector::State & Papillon::IpEndpointConnector::state | ( | ) | const |
The documentation for this class was generated from the following files:
KDE 4.2 API Reference