Previous Topic

Next Topic

Book Contents

Book Index

Platform State Utility JSON-RPC API

Platform State JSON-RPC interfaces

Platform State

Method

Return Value

Parameters

Method Description

PS/getPlatformState

int

none

Returns the current platform state

Platform State Events

Parameter

Description

TOPIC

org/osgi/framework/ServiceEvent/MODIFIED

objectclass

com.prosyst.mbs.services.platform.PlatformState

service.props

Map : all service registration properties that are json-serializable; one of them is mbs.platform.state : Integer - the current platform state

Platform State Values

Platform State Values

Description

0

Starting

5

Back up

10

Software update

20

Restore

30

Initialization

40

Validation

100

Active

120

Busy

2147483647

Stopping

Other positive values

Busy