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

kopete/libkopete

Public Attributes | List of all members
ClientIface Class Referenceabstract

#include <clientiface.h>

Inheritance diagram for ClientIface:
Inheritance graph
[legend]

Public Attributes

k_dcop_signals __pad0__: void statusChange( QString host
 
k_dcop_signals int status
 

Detailed Description

Definition at line 8 of file clientiface.h.

Member Function Documentation

virtual QStringList ClientIface::networks ( )
pure virtual

Get the set of networks that the daemon is aware of.

Mostly for debug

virtual void ClientIface::relinquish ( const QString &  host)
pure virtual

Indicate that a previously registered connection to the given host is no longer needed by this client.

Parameters
hostThe hostname being relinquished.
virtual bool ClientIface::reportFailure ( const QString &  host)
pure virtual

Indicate that a communication failure has occurred for a given host.

Parameters
hostThe hostname for which the failure occurred.
Returns
True indicates the caller should try again to lookup the host, as the daemon has another IP address available.
virtual int ClientIface::request ( const QString &  host,
bool  userInitiated 
)
pure virtual

Request a connection to the named host, registering the application's usage of this connection.

Parameters
hostThe hostname the client wants to connect to.
userInitiatedIndicates whether the connection is a direct result of a user action or is a background task. Used by the daemon to decide whether to create an on-demand connection.
Returns
An NetworkStatus::EnumRequestResult indicating whether the request was accepted
void ClientIface::shutdownRequested ( QString  host)

The network would like to shut down - any clients using this host are to finish using it immediately and call relinquish() when done.

Parameters
hostThe host, registered as in use by applications, which is about to be disconnected.
virtual int ClientIface::status ( const QString &  host = QString())
pure virtual

Get the status of the connection to the given host.

Parameters
host
Returns
a NetworkStatus::EnumStatus representing the state of the connection to the given host

Member Data Documentation

k_dcop_signals ClientIface::__pad0__

Utility method to check the daemon's status.

Definition at line 47 of file clientiface.h.

k_dcop_signals int ClientIface::status

Definition at line 47 of file clientiface.h.


The documentation for this class was generated from the following file:
  • clientiface.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:20 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