• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kopete/protocols/messenger/libpapillon

Papillon::IpEndpointConnector

Papillon::IpEndpointConnector Class Reference

#include <ipendpointconnector.h>

Inheritance diagram for Papillon::IpEndpointConnector:

Inheritance graph
[legend]

List of all members.


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

enum Papillon::IpEndpointConnector::State

Defines the possible states of an endpoint connector.

Enumerator:
Created 
Connecting 
Connected 
Closing 
Closed 
Faulted 

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 (  ) 

Closes the endpoint connector.

Definition at line 71 of file ipendpointconnector.cpp.

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

Gets the state of the endpoint connector.

Definition at line 66 of file ipendpointconnector.cpp.


The documentation for this class was generated from the following files:
  • ipendpointconnector.h
  • ipendpointconnector.cpp

kopete/protocols/messenger/libpapillon

Skip menu "kopete/protocols/messenger/libpapillon"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal