Home · All Classes · All Namespaces · Modules · Functions · Files
Public Member Functions | Static Public Member Functions | Protected Member Functions | Properties

Tp::Client::ChannelTypeServerTLSConnectionInterface Class Reference
[Channel proxies]

#include <TelepathyQt4/Channel>

Inherits Tp::AbstractInterface.

List of all members.

Public Member Functions

Static Public Member Functions

Protected Member Functions

Properties


Detailed Description

Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Channel.Type.ServerTLSConnection."


Constructor & Destructor Documentation

Tp::Client::ChannelTypeServerTLSConnectionInterface::ChannelTypeServerTLSConnectionInterface ( const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

Creates a ChannelTypeServerTLSConnectionInterface associated with the given object on the session bus.

Parameters:
busName Name of the service the object is on.
objectPath Path to the object on the service.
parent Passed to the parent class constructor.
Tp::Client::ChannelTypeServerTLSConnectionInterface::ChannelTypeServerTLSConnectionInterface ( const QDBusConnection &  connection,
const QString &  busName,
const QString &  objectPath,
QObject *  parent = 0 
)

Creates a ChannelTypeServerTLSConnectionInterface associated with the given object on the given bus.

Parameters:
connection The bus via which the object can be reached.
busName Name of the service the object is on.
objectPath Path to the object on the service.
parent Passed to the parent class constructor.
Tp::Client::ChannelTypeServerTLSConnectionInterface::ChannelTypeServerTLSConnectionInterface ( Tp::DBusProxy proxy  ) 

Creates a ChannelTypeServerTLSConnectionInterface associated with the same object as the given proxy.

Parameters:
proxy The proxy to use. It will also be the QObject::parent() for this object.
Tp::Client::ChannelTypeServerTLSConnectionInterface::ChannelTypeServerTLSConnectionInterface ( const Tp::Client::ChannelInterface mainInterface  )  [explicit]

Creates a ChannelTypeServerTLSConnectionInterface associated with the same object as the given proxy. Additionally, the created proxy will have the same parent as the given proxy.

Parameters:
mainInterface The proxy to use.
Tp::Client::ChannelTypeServerTLSConnectionInterface::ChannelTypeServerTLSConnectionInterface ( const Tp::Client::ChannelInterface mainInterface,
QObject *  parent 
)

Creates a ChannelTypeServerTLSConnectionInterface associated with the same object as the given proxy. However, a different parent object can be specified.

Parameters:
mainInterface The proxy to use.
parent Passed to the parent class constructor.

Member Function Documentation

static const char* Tp::Client::ChannelTypeServerTLSConnectionInterface::staticInterfaceName (  )  [inline, static]

Returns the name of the interface "org.freedesktop.Telepathy.Channel.Type.ServerTLSConnection", which this class represents.

Returns:
The D-Bus interface name.
TELEPATHY_QT4_DEPRECATED QDBusObjectPath Tp::Client::ChannelTypeServerTLSConnectionInterface::ServerCertificate (  )  const [inline]

Getter for the remote object property "ServerCertificate".

Don't use this: it blocks the main loop. Use the asynchronous requestPropertyServerCertificate() instead.

Returns:
The value of the property, or a default-constructed value if the property is not readable.
Tp::PendingVariant* Tp::Client::ChannelTypeServerTLSConnectionInterface::requestPropertyServerCertificate (  )  const [inline]

Asynchronous getter for the remote object property "ServerCertificate" of type QDBusObjectPath.

A TLSCertificate containing the certificate chain as sent by the server, and other relevant information. This property is immutable.

Returns:
A pending variant which will emit finished when the property has been retrieved.
TELEPATHY_QT4_DEPRECATED QString Tp::Client::ChannelTypeServerTLSConnectionInterface::Hostname (  )  const [inline]

Getter for the remote object property "Hostname".

Don't use this: it blocks the main loop. Use the asynchronous requestPropertyHostname() instead.

Returns:
The value of the property, or a default-constructed value if the property is not readable.
Tp::PendingVariant* Tp::Client::ChannelTypeServerTLSConnectionInterface::requestPropertyHostname (  )  const [inline]

Asynchronous getter for the remote object property "Hostname" of type QString.

The hostname of the server we expect ServerCertificate to certify; clients SHOULD verify ServerCertificate against this hostname when checking its validity.

Returns:
A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariantMap* Tp::Client::ChannelTypeServerTLSConnectionInterface::requestAllProperties (  )  const [inline]

Request all of the DBus properties on the interface.

Returns:
A pending variant map which will emit finished when the properties have been retrieved.
void Tp::Client::ChannelTypeServerTLSConnectionInterface::invalidate ( Tp::DBusProxy proxy,
const QString &  error,
const QString &  message 
) [protected, virtual]

Reimplemented from Tp::AbstractInterface.


Property Documentation

QDBusObjectPath Tp::Client::ChannelTypeServerTLSConnectionInterface::ServerCertificate [read]

Represents property "ServerCertificate" on the remote object.

A TLSCertificate containing the certificate chain as sent by the server, and other relevant information. This property is immutable.

QString Tp::Client::ChannelTypeServerTLSConnectionInterface::Hostname [read]

Represents property "Hostname" on the remote object.

The hostname of the server we expect ServerCertificate to certify; clients SHOULD verify ServerCertificate against this hostname when checking its validity.


Copyright © 2008-2010 Collabora Ltd. and Nokia Corporation
Telepathy-Qt4 0.4.4