Interface ChannelDispatcher.Interface.OperationList

Interface Index (Compact) | Summary | Description | Signals | Properties | Types

Signals

NewDispatchOperation (o: Dispatch_Operation, a{sv}: Properties)
DispatchOperationFinished (o: Dispatch_Operation)

Properties

DispatchOperations a(oa{sv}) (Dispatch_Operation_Details_List) Read only

Types

Dispatch_Operation_Details Struct (oa{sv})
Added in 0.17.26. (as a stable interface)
Objects implementing this interface must also implement:

Description

This interface allows users of the ChannelDispatcher to enumerate all the pending dispatch operations, with change notification.

Rationale:

The existence of the DispatchOperations property allows a newly started approver to pick up existing dispatch operations.

This is on a separate interface so clients that aren't interested in doing this aren't woken up by its signals.

Signals

(Permalink)

NewDispatchOperation (o: Dispatch_Operation, a{sv}: Properties)

Parameters

Emitted when a dispatch operation is added to DispatchOperations.

(Permalink)

DispatchOperationFinished (o: Dispatch_Operation)

Parameters

  • Dispatch_Operation — o
  • The dispatch operation that was closed.
Emitted when a dispatch operation finishes (i.e. exactly once per emission of ChannelDispatchOperation.Finished).
Rationale:
Strictly speaking this is redundant with ChannelDispatchOperation.Finished, but it provides full change-notification for the DispatchOperations property.

Properties

Accessed using the org.freedesktop.DBus.Properties interface.
(Permalink)

DispatchOperations — a(oa{sv}) (Dispatch_Operation_Details_List)

Read only

The list of ChannelDispatchOperation objects currently being processed. Change notification is via the NewDispatchOperation and DispatchOperationFinished signals.

Types

Struct (Permalink)

Dispatch_Operation_Details — (oa{sv})

Details of a channel dispatch operation.