Telepathy::Client::MediaSessionHandlerInterface Class Reference
[Media session handler proxies]

#include <TelepathyQt4/Client/MediaSessionHandler>

Inheritance diagram for Telepathy::Client::MediaSessionHandlerInterface:

Inheritance graph
[legend]
Collaboration diagram for Telepathy::Client::MediaSessionHandlerInterface:

Collaboration graph
[legend]

List of all members.

Public Slots

QDBusPendingReply Error (uint errorCode, const QString &message)
QDBusPendingReply Ready ()

Signals

void NewStreamHandler (const QDBusObjectPath &streamHandler, uint ID, uint mediaType, uint direction)

Public Member Functions

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

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.Media.SessionHandler."

Constructor & Destructor Documentation

Telepathy::Client::MediaSessionHandlerInterface::MediaSessionHandlerInterface ( const QString &  serviceName,
const QString &  objectPath,
QObject *  parent = 0 
)

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

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

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

Telepathy::Client::MediaSessionHandlerInterface::MediaSessionHandlerInterface ( Telepathy::Client::DBusProxy proxy  ) 

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


Member Function Documentation

QDBusPendingReply Telepathy::Client::MediaSessionHandlerInterface::Error ( uint  errorCode,
const QString &  message 
) [inline, slot]

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

THIS METHOD IS DEPRECATED AND SHOULD NOT BE USED. Instead the Error function should be used on the relevant MediaStreamHandler objects. Informs the connection manager that an error occured in this session. If used, the connection manager must terminate the session and all of the streams within it, and may also emit a StreamError signal on the channel for each stream within the session.

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

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

void Telepathy::Client::MediaSessionHandlerInterface::NewStreamHandler ( const QDBusObjectPath &  streamHandler,
uint  ID,
uint  mediaType,
uint  direction 
) [signal]

Represents the signal "NewStreamHandler" on the remote object.

Emitted when a new stream handler has been created for this session.

Parameters:
streamHandler An object path to a new MediaStreamHandler
ID The unique ID of the new stream
mediaType Enum for type of media that this stream should handle (a value from MediaStreamType)
direction Enum for direction of this stream (a value from MediaStreamDirection)

QDBusPendingReply Telepathy::Client::MediaSessionHandlerInterface::Ready (  )  [inline, slot]

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

Inform the connection manager that a client is ready to handle this session handler (i.e. that it has connected to the NewStreamHandler signal and done any other necessary setup).

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

static const char* Telepathy::Client::MediaSessionHandlerInterface::staticInterfaceName (  )  [inline, static]

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

Returns:
The D-Bus interface name.


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