1// Copyright 2018 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5library fidl.examples.example9;
6
7enum EchoMe {
8    zero = 0;
9    one = 1;
10};
11
12struct EchoMore {
13    uint32 first;
14    uint64 second;
15};
16
17interface Echo {
18    1: Echo32(uint32 uint32) -> (uint32 response);
19    2: Echo64(uint64 uint64) -> (uint64 response);
20    3: EchoEnum(EchoMe req) -> (EchoMe response);
21    4: EchoHandle(handle req) -> (handle response);
22    5: EchoChannel(handle<channel> req) -> (handle<channel> response);
23    6: EchoStruct(EchoMore req) -> (EchoMore response);
24};
25