| // Copyright 2025 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.ipc; |
| |
| using zx; |
| |
| closed protocol SequentialSender { |
| strict Send(struct { |
| message string:100000; |
| }); |
| }; |
| |
| closed protocol BatchSender { |
| strict Send(struct { |
| messages vector<string:100000>:100; |
| }) -> (); |
| }; |
| |
| closed protocol StreamSender { |
| strict Send(resource struct { |
| stream zx.Handle:SOCKET; |
| }); |
| }; |
| |
| closed protocol VmoSender { |
| strict Send(resource struct { |
| vmos vector<zx.Handle:VMO>:32; |
| }) -> (); |
| }; |