blob: ec37fc4260d19494542576f7ee827954e85c3e86 [file] [log] [blame]
// Copyright 2022 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 test.unknown.interactions;
open protocol UnknownInteractionsProtocol {
strict StrictOneWay();
flexible FlexibleOneWay();
strict StrictTwoWay() -> ();
strict StrictTwoWayErr() -> (struct {}) error int32;
flexible FlexibleTwoWay() -> (struct {});
flexible FlexibleTwoWayErr() -> (struct {}) error int32;
strict -> StrictEvent();
strict -> StrictEventErr(struct {}) error int32;
flexible -> FlexibleEvent();
flexible -> FlexibleEventErr(struct {}) error int32;
};
ajar protocol UnknownInteractionsAjarProtocol {};
closed protocol UnknownInteractionsClosedProtocol {};
@transport("Driver")
open protocol UnknownInteractionsDriverProtocol {
strict StrictOneWay();
flexible FlexibleOneWay();
strict StrictTwoWay() -> ();
strict StrictTwoWayErr() -> (struct {}) error int32;
flexible FlexibleTwoWay() -> (struct {});
flexible FlexibleTwoWayErr() -> (struct {}) error int32;
};