| // 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 fidl.service.test; |
| |
| using fuchsia.io; |
| using fuchsia.unknown; |
| |
| @discoverable |
| closed protocol Echo { |
| compose fuchsia.unknown.Cloneable; |
| |
| strict EchoString(struct { |
| value string:optional; |
| }) -> (struct { |
| response string:optional; |
| }); |
| }; |
| |
| closed protocol Empty {}; |
| |
| closed protocol EmptyCloneableNode { |
| compose fuchsia.unknown.Cloneable; |
| compose fuchsia.io.Node; |
| }; |
| |
| /// A service that provides multiple Echo implementations. |
| service EchoService { |
| foo client_end:Echo; |
| bar client_end:Echo; |
| }; |