|
virtual | ~OutgoingDBusTubeChannel () |
|
PendingDBusTubeConnection * | offerTube (const QVariantMap ¶meters, bool allowOtherUsers=false) |
|
virtual | ~DBusTubeChannel () |
|
QString | serviceName () const |
|
bool | supportsRestrictingToCurrentUser () const |
|
QHash< QString, Tp::ContactPtr > | contactsForBusNames () const |
|
QString | address () const |
|
virtual | ~TubeChannel () |
|
TubeChannelState | state () const |
|
QVariantMap | parameters () const |
|
virtual | ~Channel () |
|
ConnectionPtr | connection () const |
|
QVariantMap | immutableProperties () const |
|
QString | channelType () const |
|
HandleType | targetHandleType () const |
|
uint | targetHandle () const |
|
QString | targetId () const |
|
ContactPtr | targetContact () const |
|
bool | isRequested () const |
|
ContactPtr | initiatorContact () const |
|
PendingOperation * | requestClose () |
|
PendingOperation * | requestLeave (const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone) |
|
bool | isConference () const |
|
Contacts | conferenceInitialInviteeContacts () const |
|
QList< ChannelPtr > | conferenceChannels () const |
|
QList< ChannelPtr > | conferenceInitialChannels () const |
|
QHash< uint, ChannelPtr > | conferenceOriginalChannels () const |
|
bool | supportsConferenceMerging () const |
|
PendingOperation * | conferenceMergeChannel (const ChannelPtr &channel) |
|
bool | supportsConferenceSplitting () const |
|
PendingOperation * | conferenceSplitChannel () |
|
ChannelGroupFlags | groupFlags () const |
|
bool | groupCanAddContacts () const |
|
bool | groupCanAddContactsWithMessage () const |
|
bool | groupCanAcceptContactsWithMessage () const |
|
PendingOperation * | groupAddContacts (const QList< ContactPtr > &contacts, const QString &message=QString()) |
|
bool | groupCanRescindContacts () const |
|
bool | groupCanRescindContactsWithMessage () const |
|
bool | groupCanRemoveContacts () const |
|
bool | groupCanRemoveContactsWithMessage () const |
|
bool | groupCanRejectContactsWithMessage () const |
|
bool | groupCanDepartWithMessage () const |
|
PendingOperation * | groupRemoveContacts (const QList< ContactPtr > &contacts, const QString &message=QString(), ChannelGroupChangeReason reason=ChannelGroupChangeReasonNone) |
|
Contacts | groupContacts (bool includeSelfContact=true) const |
|
Contacts | groupLocalPendingContacts (bool includeSelfContact=true) const |
|
Contacts | groupRemotePendingContacts (bool includeSelfContact=true) const |
|
GroupMemberChangeDetails | groupLocalPendingContactChangeInfo (const ContactPtr &contact) const |
|
GroupMemberChangeDetails | groupSelfContactRemoveInfo () const |
|
bool | groupAreHandleOwnersAvailable () const |
|
HandleOwnerMap | groupHandleOwners () const |
|
bool | groupIsSelfContactTracked () const |
|
ContactPtr | groupSelfContact () const |
|
| StatefulDBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore) |
|
virtual | ~StatefulDBusProxy () |
|
| DBusProxy (const QDBusConnection &dbusConnection, const QString &busName, const QString &objectPath, const Feature &featureCore) |
|
virtual | ~DBusProxy () |
|
QDBusConnection | dbusConnection () const |
|
QString | busName () const |
|
QString | objectPath () const |
|
bool | isValid () const |
|
QString | invalidationReason () const |
|
QString | invalidationMessage () const |
|
virtual | ~Object () |
|
| RefCounted () |
|
virtual | ~RefCounted () |
|
| ReadyObject (RefCounted *object, const Feature &featureCore) |
|
| ReadyObject (DBusProxy *proxy, const Feature &featureCore) |
|
virtual | ~ReadyObject () |
|
virtual bool | isReady (const Features &features=Features()) const |
|
virtual PendingReady * | becomeReady (const Features &requestedFeatures=Features()) |
|
virtual Features | requestedFeatures () const |
|
virtual Features | actualFeatures () const |
|
virtual Features | missingFeatures () const |
|
| OptionalInterfaceFactory (Channel *this_) |
|
| ~OptionalInterfaceFactory () |
|
QStringList | interfaces () const |
|
bool | hasInterface (const QString &name) const |
|
Interface * | optionalInterface (InterfaceSupportedChecking check=CheckInterfaceSupported) const |
|
Interface * | interface () const |
|
|
static OutgoingDBusTubeChannelPtr | create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties) |
|
static DBusTubeChannelPtr | create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties) |
|
static TubeChannelPtr | create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties) |
|
static ChannelPtr | create (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties) |
|
static QString | uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique) |
|
static QString | uniqueNameFrom (const QDBusConnection &bus, const QString &wellKnownOrUnique, QString &error, QString &message) |
|
|
| OutgoingDBusTubeChannel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties) |
|
| DBusTubeChannel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties) |
|
| TubeChannel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature=TubeChannel::FeatureCore) |
|
void | setParameters (const QVariantMap ¶meters) |
|
| Channel (const ConnectionPtr &connection, const QString &objectPath, const QVariantMap &immutableProperties, const Feature &coreFeature) |
|
Client::ChannelInterface * | baseInterface () const |
|
bool | groupSelfHandleIsLocalPending () const |
|
void | setBusName (const QString &busName) |
|
void | invalidate (const QString &reason, const QString &message) |
|
void | invalidate (const QDBusError &error) |
|
| Object () |
|
void | notify (const char *propertyName) |
|
ReadinessHelper * | readinessHelper () const |
|
void | setInterfaces (const QStringList &interfaces) |
|
|
enum | InterfaceSupportedChecking |
|
void | busNameAdded (const QString &busName, const Tp::ContactPtr &contact) |
|
void | busNameRemoved (const QString &busName, const Tp::ContactPtr &contact) |
|
void | stateChanged (Tp::TubeChannelState state) |
|
void | groupFlagsChanged (Tp::ChannelGroupFlags flags, Tp::ChannelGroupFlags added, Tp::ChannelGroupFlags removed) |
|
void | groupCanAddContactsChanged (bool canAddContacts) |
|
void | groupCanRemoveContactsChanged (bool canRemoveContacts) |
|
void | groupCanRescindContactsChanged (bool canRescindContacts) |
|
void | groupMembersChanged (const Tp::Contacts &groupMembersAdded, const Tp::Contacts &groupLocalPendingMembersAdded, const Tp::Contacts &groupRemotePendingMembersAdded, const Tp::Contacts &groupMembersRemoved, const Tp::Channel::GroupMemberChangeDetails &details) |
|
void | groupHandleOwnersChanged (const Tp::HandleOwnerMap &owners, const Tp::UIntList &added, const Tp::UIntList &removed) |
|
void | groupSelfContactChanged () |
|
void | conferenceChannelMerged (const Tp::ChannelPtr &channel) |
|
void | conferenceChannelRemoved (const Tp::ChannelPtr &channel, const Tp::Channel::GroupMemberChangeDetails &details) |
|
void | invalidated (Tp::DBusProxy *proxy, const QString &errorName, const QString &errorMessage) |
|
void | propertyChanged (const QString &propertyName) |
|
static const Feature | FeatureCore |
|
static const Feature | FeatureBusNameMonitoring |
|
static const Feature | FeatureCore |
|
static const Feature | FeatureCore |
|
static const Feature | FeatureConferenceInitialInviteeContacts |
|
PendingOperation * | groupAddSelfHandle () |
|
The OutgoingDBusTubeChannel class represents an outgoing Telepathy channel of type DBusTube.
Outgoing (locally initiated/requested) tubes are initially in the TubeChannelStateNotOffered state. When offerTube is called, the connection manager takes care of instantiating a new DBus server, at which point the tube state becomes TubeChannelStateRemotePending.
If the target accepts the connection request, the state goes TubeChannelStateOpen and both sides can start using the new private bus, the address of which can be retrieved from the completed PendingDBusTubeConnection or from this class.
- Note
- If you plan to use QtDBus for the DBus connection, please note you should always use QDBusConnection::connectToPeer(), regardless of the fact this tube is a p2p or a group one. The above function has been introduced in Qt 4.8, previous versions of Qt do not allow the use of DBus Tubes through QtDBus.
For more details, please refer to Telepathy specification.
See Asynchronous Object Model, Shared Pointer Usage