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

kopete/libkopete

  • Kopete
  • SocketTimeoutWatcher
Signals | Public Member Functions | Static Public Member Functions | List of all members
Kopete::SocketTimeoutWatcher Class Reference

#include <kopetesockettimeoutwatcher.h>

Inheritance diagram for Kopete::SocketTimeoutWatcher:
Inheritance graph
[legend]

Signals

void error (QAbstractSocket::SocketError socketError)
 
void errorInt (int socketError)
 

Public Member Functions

 ~SocketTimeoutWatcher ()
 

Static Public Member Functions

static SocketTimeoutWatcher * watch (QAbstractSocket *socket, quint32 msecTimeout=15000)
 

Detailed Description

Author
Roman Jarosz kedge.nosp@m.dev@.nosp@m.centr.nosp@m.um.c.nosp@m.z

Definition at line 31 of file kopetesockettimeoutwatcher.h.

Constructor & Destructor Documentation

Kopete::SocketTimeoutWatcher::~SocketTimeoutWatcher ( )

Definition at line 60 of file kopetesockettimeoutwatcher.cpp.

Member Function Documentation

void Kopete::SocketTimeoutWatcher::error ( QAbstractSocket::SocketError  socketError)
signal

Emitted when timeout is reached.

Note
socketError is always QAbstractSocket::RemoteHostClosedError
void Kopete::SocketTimeoutWatcher::errorInt ( int  socketError)
signal
SocketTimeoutWatcher * Kopete::SocketTimeoutWatcher::watch ( QAbstractSocket *  socket,
quint32  msecTimeout = 15000 
)
static

Returns new SocketTimeoutWatcher or 0 if SocketTimeoutWatcher was already created for this socket.

SocketTimeoutWatcher watches if outgoing data has been sent out. The implementation check if ACK was received after data has been sent and emits error(QAbstractSocket::SocketError) if ACK hasn't been received before msecTimeout milliseconds.

Note
abort is called on socket when timeout is reached.

Definition at line 35 of file kopetesockettimeoutwatcher.cpp.


The documentation for this class was generated from the following files:
  • kopetesockettimeoutwatcher.h
  • kopetesockettimeoutwatcher.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kopete/libkopete

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

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal