| // 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.component.client.test; |
| |
| /// A discoverable protocol. |
| @discoverable |
| closed protocol ProtocolA { |
| /// Does nothing. |
| strict Foo() -> (); |
| }; |
| |
| /// Yet another discoverable protocol. |
| @discoverable |
| closed protocol ProtocolB { |
| /// Does nothing. |
| strict Foo() -> (); |
| }; |
| |
| /// An empty protocol. |
| @discoverable |
| closed protocol EmptyProtocol {}; |
| |
| /// A service with protocols in it |
| service Service { |
| first client_end:ProtocolA; |
| second client_end:ProtocolB; |
| }; |