| // Copyright 2021 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 llcpptest.dispatcher.handle.ownership.test; | |
| using zx; | |
| type Resource = resource table { | |
| 1: handle zx.handle:EVENTPAIR; | |
| }; | |
| protocol Protocol { | |
| SendResource(resource struct { | |
| r Resource; | |
| }); | |
| GetResource() -> (resource struct { | |
| r Resource; | |
| }); | |
| -> ResourceEvent(resource struct { | |
| r Resource; | |
| }); | |
| }; |