blob: 0ea92d260f6e0a9e6451766e4cd81a1d509a4457 [file] [log] [blame]
// Copyright 2020 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.archivist.tests;
@discoverable
closed protocol SocketPuppetController {
/// Send a puppet client to the controller. This channel is closed after this call.
strict ControlPuppet(resource struct {
to_control client_end:SocketPuppet;
});
};
closed protocol SocketPuppet {
strict ConnectToLogSink() -> ();
strict EmitPacket(struct {
packet vector<uint8>:32768;
}) -> ();
};