TpPrototype::Client::ChannelHandlerInterface Class Reference

#include <TelepathyQt4/Prototype/Client/ChannelHandler>

Inheritance diagram for TpPrototype::Client::ChannelHandlerInterface:

Inheritance graph
[legend]
Collaboration diagram for TpPrototype::Client::ChannelHandlerInterface:

Collaboration graph
[legend]

List of all members.

Public Slots

QDBusPendingReply HandleChannel (const QString &busName, const QDBusObjectPath &connection, const QString &channelType, const QDBusObjectPath &channel, uint handleType, uint handle)

Public Member Functions

 ChannelHandlerInterface (const QString &serviceName, const QString &objectPath, QObject *parent=0)
 ChannelHandlerInterface (const QDBusConnection &connection, const QString &serviceName, const QString &objectPath, QObject *parent=0)
 ChannelHandlerInterface (Telepathy::Client::DBusProxy *proxy)
 ChannelHandlerInterface (const Telepathy::Client::AbstractInterface &mainInterface)
 ChannelHandlerInterface (const Telepathy::Client::AbstractInterface &mainInterface, QObject *parent)

Static Public Member Functions

static const char * staticInterfaceName ()

Protected Member Functions

virtual void invalidate (Telepathy::Client::DBusProxy *, const QString &, const QString &)


Detailed Description

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

Constructor & Destructor Documentation

TpPrototype::Client::ChannelHandlerInterface::ChannelHandlerInterface ( const QString &  serviceName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Parameters:
serviceName Name of the service the object is on.
objectPath Path to the object on the service.
parent Passed to the parent class constructor.

TpPrototype::Client::ChannelHandlerInterface::ChannelHandlerInterface ( const QDBusConnection &  connection,
const QString &  serviceName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

Parameters:
connection The bus via which the object can be reached.
serviceName Name of the service the object is on.
objectPath Path to the object on the service.
parent Passed to the parent class constructor.

TpPrototype::Client::ChannelHandlerInterface::ChannelHandlerInterface ( Telepathy::Client::DBusProxy proxy  ) 

Creates a ChannelHandlerInterface 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.

TpPrototype::Client::ChannelHandlerInterface::ChannelHandlerInterface ( const Telepathy::Client::AbstractInterface mainInterface  )  [explicit]

Creates a ChannelHandlerInterface 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.

TpPrototype::Client::ChannelHandlerInterface::ChannelHandlerInterface ( const Telepathy::Client::AbstractInterface mainInterface,
QObject *  parent 
)

Creates a ChannelHandlerInterface 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

QDBusPendingReply TpPrototype::Client::ChannelHandlerInterface::HandleChannel ( const QString &  busName,
const QDBusObjectPath &  connection,
const QString &  channelType,
const QDBusObjectPath &  channel,
uint  handleType,
uint  handle 
) [inline, slot]

Begins a call to the D-Bus method "HandleChannel" on the remote object.

Called when a channel handler should handle a new channel.

Parameters:
busName The bus name of the connection and channel
connection The object-path of the connection that owns the channel
channelType The channel type
channel The object-path of the channel
handleType The type of the handle that the channel communicates with, or 0 if there is no associated handle
handle The handle that the channel communicates with, or 0 if there is no associated handle

References Telepathy::Client::AbstractInterface::invalidationMessage(), and Telepathy::Client::AbstractInterface::invalidationReason().

virtual void TpPrototype::Client::ChannelHandlerInterface::invalidate ( Telepathy::Client::DBusProxy ,
const QString &  ,
const QString &   
) [protected, virtual]

static const char* TpPrototype::Client::ChannelHandlerInterface::staticInterfaceName (  )  [inline, static]

Returns the name of the interface "org.freedesktop.Telepathy.ChannelHandler", which this class represents.

Returns:
The D-Bus interface name.

Referenced by TpPrototype::StreamedMediaChannel::openStreamedMediaChannel().


Generated on Thu Mar 5 18:52:15 2009 for TelepathyQt4-0.1.1 by  doxygen 1.5.8