unity.scopes.ActivationListenerBase

Base class to receive a response to a result activation request. More...

#include <unity/scopes/ActivationListenerBase.h>

Inheritance diagram for unity::scopes::ActivationListenerBase: src="https://assets.ubuntu.com/v1/834f8bda-classunity_1_1scopes_1_1_activation_listener_base__inherit__graph.png" border="0" alt="Inheritance graph"/>

Public Member Functions

virtual void activated (ActivationResponse const &response)
 Called once by the scopes runtime with the activation response. More...
 
virtual void finished (CompletionDetails const &details) override
 Called once by the scopes runtime after the final result for a request was sent. More...
 
src="https://assets.ubuntu.com/v1/c6607712-closed.png" alt="-"/> Public Member Functions inherited from unity::scopes::ListenerBase
virtual void info (OperationInfo const &op_info)
 Called by the scopes runtime each time a scope reports additional information about the reply to a query. More...
 

Detailed Description

Base class to receive a response to a result activation request.

Member Function Documentation

void unity::scopes::ActivationListenerBase::activated ( ActivationResponse const &  response)
virtual

Called once by the scopes runtime with the activation response.

The default implementation does nothing.

Parameters
responseThe response to the activation request, returned by a scope from ActivationQueryBase::activate().
void unity::scopes::ActivationListenerBase::finished ( CompletionDetails const &  details)
overridevirtual

Called once by the scopes runtime after the final result for a request was sent.

Calls to finished() are made by an arbitrary thread.

Exceptions thrown from finished() are ignored.

Parameters
detailsContains details about the completion status of a query as well as any additional information regarding the operation of the request.

Implements unity::scopes::ListenerBase.