| // 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; |
| }) -> (); |
| }; |