Files
quixos-protocol/test/fixtures/controller-device/DeviceController.qx
T

7 lines
535 B
Plaintext

type Request=record {url:string;text:string;version:int32;};
interface DeviceController id "device-controller" revision "device-controller@1" {
queryable portable value enabled id "controller:enabled" : bool {get id "controller:enabled:get" execution snapshot targets [server];}
operation snapshot id "device:snapshot" : unit -> optional<Request> {call id "device:snapshot:call" execution snapshot targets [server];}
operation apply id "device:apply" : optional<Request> -> unit {call id "device:apply:call" execution remote;}
}