blob: 1881904e4084d517b51db83de5bdfdccd4666b19 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.services.examples;
[Discoverable]
protocol MindReader {
/// When this method is called the service will attempt to guess
/// what the calling process is thinking.
ReadMind() -> (string response);
};
[Discoverable]
protocol ThoughtLeaker {
/// This service is used to leak the current thought of the process.
/// If this service is exposed to the [MindReader] it will connect
/// to it to extract the current thought.
CurrentThought() -> (string response);
};