TelepathyGLib.AddDispatchOperationContext

g GObject.Object GObject.Object TelepathyGLib.AddDispatchOperationContext TelepathyGLib.AddDispatchOperationContext GObject.Object->TelepathyGLib.AddDispatchOperationContext

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

accept ()

delay ()

fail (error)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

account

TelepathyGLib.Account

r/w/co

The TelepathyGLib.Account of the context

channels

GLib.PtrArray

r/w/co

The TpChannels that have been passed to AddDispatchOperation

connection

TelepathyGLib.Connection

r/w/co

The TelepathyGLib.Connection of the context

dispatch-operation

TelepathyGLib.ChannelDispatchOperation

r/w/co

The TelepathyGLib.ChannelDispatchOperation that has been passed to AddDispatchOperation

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class TelepathyGLib.AddDispatchOperationContext(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

TelepathyGLib.AddDispatchOperationContextClass

Data structure representing the context of a Approver.AddDispatchOperation() call.

New in version 0.11.5.

accept()

Called by TelepathyGLib.BaseClientClassAddDispatchOperationImpl when it’s done so the D-Bus method can return.

New in version 0.11.5.

delay()

Called by TelepathyGLib.BaseClientClassAddDispatchOperationImpl to indicate that it implements the method in an async way. The caller must take a reference to the TelepathyGLib.AddDispatchOperationContext before calling this function, and is responsible for calling either TelepathyGLib.AddDispatchOperationContext.accept() or TelepathyGLib.AddDispatchOperationContext.fail() later.

New in version 0.11.5.

fail(error)
Parameters:

error (GLib.Error) – the error to return from the method

Called by TelepathyGLib.BaseClientClassAddDispatchOperationImpl to raise a D-Bus error.

New in version 0.11.5.

Property Details

TelepathyGLib.AddDispatchOperationContext.props.account
Name:

account

Type:

TelepathyGLib.Account

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

A TelepathyGLib.Account object representing the Account of the DispatchOperation that has been passed to AddDispatchOperation. Read-only except during construction.

This property can’t be None.

New in version 0.11.5.

TelepathyGLib.AddDispatchOperationContext.props.channels
Name:

channels

Type:

GLib.PtrArray

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

A GLib.PtrArray containing TelepathyGLib.Channel objects representing the channels that have been passed to AddDispatchOperation. Read-only except during construction.

This property can’t be None.

New in version 0.11.5.

TelepathyGLib.AddDispatchOperationContext.props.connection
Name:

connection

Type:

TelepathyGLib.Connection

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

A TelepathyGLib.Connection object representing the Connection of the DispatchOperation that has been passed to AddDispatchOperation. Read-only except during construction.

This property can’t be None.

New in version 0.11.5.

TelepathyGLib.AddDispatchOperationContext.props.dispatch_operation
Name:

dispatch-operation

Type:

TelepathyGLib.ChannelDispatchOperation

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

A TelepathyGLib.ChannelDispatchOperation object representing the ChannelDispatchOperation that has been passed to AddDispatchOperation. Read-only except during construction.

This property can’t be None.

New in version 0.11.5.