Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Service response messages

fearthecowboy edited this page Aug 9, 2011 · 2 revisions

Messages sent by the service

Message: session-started

This is the first message sent on the response pipe.

If this message has been received, the connection is successful.

Parameters

None.

Sample :

session-started

Message: no-packages-found

This tells the client that their find-packages request returned zero results.

Parameters

None

Sample :

no-packages-found

Message: found-package

description

Parameters

Name Type Description
canonical-name string description
local-location string description
name string description
version string description
arch string description
public-key-token string description
installed string description
remote-location[] string-array description
dependencies[] string-array description
supercedent-packages[] string-array description

Sample :

found-package?...

Message: package-details

(description)

Parameters

Name Type Description
canonical-name string description
description string description
icon string (base64 encoded png) description
status string description
active bool description
required bool description
blocked bool description
// (other cosmetic fields)

Sample :

package-details?...

Message: found-feed

(description)

Parameters

Name Type Description
location string description
last-scan date? description
session bool description

Sample :

found-feed

Message: scanning-packages

(description)

Parameters

Name Type Description
percent-complete integer description
current-item string description

Sample :

foo-bar

Message: installing-package

(description)

Parameters

Name Type Description
canonical-name string description
percent-complete integer description

Sample :

foo-bar

Message: installed-package

(description)

Parameters

Name Type Description
canonical-name string description

Sample :

foo-bar

Message: failed-package-install

(description)

Parameters

Name Type Description
canonical-name string description
filename string description
reason string description

Sample :

foo-bar

Message: failed-remove-package

(description)

Parameters

Name Type Description
canonical-name string description
reason string description

Sample :

foo-bar

Message: require-remote-file

(description)

Parameters

Name Type Description
location[] string-array description
destination string description
force boolean description

Sample :

foo-bar

Message: signature-validation

(description)

Parameters

Name Type Description
filename string description
is-valid boolean description
certificate-subject-name string description

Sample :

foo-bar

Message: operation-requires-permission

(description)

Parameters

Name Type Description
current-username string description
policy-required string description

Sample :

foo-bar

Message: message-argument-error

(description)

Parameters

Name Type Description
argument-name string description
problem string description

Sample :

foo-bar

Message: file-not-found

(description)

Parameters

Name Type Description
filename string description

Sample :

foo-bar

Message: unknown-package

(description)

Parameters

Name Type Description
canonical-name string description

Sample :

foo-bar

Message: package-is-blocked

(description)

Parameters

Name Type Description
canonical-name string description

Sample :

foo-bar

Message: unable-to-recognize-file

(description)

Parameters

Name Type Description
filename string description

Sample :

foo-bar

Clone this wiki locally