blob: 3a97b3454684bfc258076339f84300cbd6c490dd [file] [view] [edit]
<link rel="stylesheet" href="../style.css" />
[TOC]
# banjo.examples.protocolprimitive
## **PROTOCOLS**
## AsyncPrimitive {#AsyncPrimitive}
*Defined in [banjo.examples.protocolprimitive/protocolprimitive.test.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:src/devices/tools/fidlgen_banjo/tests/fidl/protocolprimitive.test.fidl;l=79)*
### Bool {#AsyncPrimitive.Bool}
#### Request {#AsyncPrimitive.Bool_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>b</code></td>
<td>
<code>bool</code>
</td>
</tr></table>
#### Response {#AsyncPrimitive.Bool_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>b</code></td>
<td>
<code>bool</code>
</td>
</tr><tr>
<td><code>b_2</code></td>
<td>
<code>bool</code>
</td>
</tr></table>
### Float32 {#AsyncPrimitive.Float32}
#### Request {#AsyncPrimitive.Float32_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>f32</code></td>
<td>
<code>float32</code>
</td>
</tr></table>
#### Response {#AsyncPrimitive.Float32_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>f32</code></td>
<td>
<code>float32</code>
</td>
</tr><tr>
<td><code>f32_2</code></td>
<td>
<code>float32</code>
</td>
</tr></table>
### Float64 {#AsyncPrimitive.Float64}
#### Request {#AsyncPrimitive.Float64_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>u64</code></td>
<td>
<code>float64</code>
</td>
</tr></table>
#### Response {#AsyncPrimitive.Float64_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>f64</code></td>
<td>
<code>float64</code>
</td>
</tr><tr>
<td><code>f64_2</code></td>
<td>
<code>float64</code>
</td>
</tr></table>
### Int16 {#AsyncPrimitive.Int16}
#### Request {#AsyncPrimitive.Int16_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>i16</code></td>
<td>
<code>int16</code>
</td>
</tr></table>
#### Response {#AsyncPrimitive.Int16_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>i16</code></td>
<td>
<code>int16</code>
</td>
</tr><tr>
<td><code>i16_2</code></td>
<td>
<code>int16</code>
</td>
</tr></table>
### Int32 {#AsyncPrimitive.Int32}
#### Request {#AsyncPrimitive.Int32_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>i32</code></td>
<td>
<code>int32</code>
</td>
</tr></table>
#### Response {#AsyncPrimitive.Int32_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>i32</code></td>
<td>
<code>int32</code>
</td>
</tr><tr>
<td><code>i32_2</code></td>
<td>
<code>int32</code>
</td>
</tr></table>
### Int64 {#AsyncPrimitive.Int64}
#### Request {#AsyncPrimitive.Int64_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>i64</code></td>
<td>
<code>int64</code>
</td>
</tr></table>
#### Response {#AsyncPrimitive.Int64_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>i64</code></td>
<td>
<code>int64</code>
</td>
</tr><tr>
<td><code>i64_2</code></td>
<td>
<code>int64</code>
</td>
</tr></table>
### Int8 {#AsyncPrimitive.Int8}
#### Request {#AsyncPrimitive.Int8_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>i8</code></td>
<td>
<code>int8</code>
</td>
</tr></table>
#### Response {#AsyncPrimitive.Int8_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>i8</code></td>
<td>
<code>int8</code>
</td>
</tr><tr>
<td><code>i8_2</code></td>
<td>
<code>int8</code>
</td>
</tr></table>
### Uint16 {#AsyncPrimitive.Uint16}
#### Request {#AsyncPrimitive.Uint16_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>u16</code></td>
<td>
<code>uint16</code>
</td>
</tr></table>
#### Response {#AsyncPrimitive.Uint16_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>u16</code></td>
<td>
<code>uint16</code>
</td>
</tr><tr>
<td><code>u16_2</code></td>
<td>
<code>uint16</code>
</td>
</tr></table>
### Uint32 {#AsyncPrimitive.Uint32}
#### Request {#AsyncPrimitive.Uint32_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>u32</code></td>
<td>
<code>uint32</code>
</td>
</tr></table>
#### Response {#AsyncPrimitive.Uint32_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>u32</code></td>
<td>
<code>uint32</code>
</td>
</tr><tr>
<td><code>u32_2</code></td>
<td>
<code>uint32</code>
</td>
</tr></table>
### Uint64 {#AsyncPrimitive.Uint64}
#### Request {#AsyncPrimitive.Uint64_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>u64</code></td>
<td>
<code>uint64</code>
</td>
</tr></table>
#### Response {#AsyncPrimitive.Uint64_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>u64</code></td>
<td>
<code>uint64</code>
</td>
</tr><tr>
<td><code>u64_2</code></td>
<td>
<code>uint64</code>
</td>
</tr></table>
### Uint8 {#AsyncPrimitive.Uint8}
#### Request {#AsyncPrimitive.Uint8_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>u8</code></td>
<td>
<code>uint8</code>
</td>
</tr></table>
#### Response {#AsyncPrimitive.Uint8_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>u8</code></td>
<td>
<code>uint8</code>
</td>
</tr><tr>
<td><code>u8_2</code></td>
<td>
<code>uint8</code>
</td>
</tr></table>
## SynchronousPrimitive {#SynchronousPrimitive}
*Defined in [banjo.examples.protocolprimitive/protocolprimitive.test.fidl](https://cs.opensource.google/fuchsia/fuchsia/+/main:src/devices/tools/fidlgen_banjo/tests/fidl/protocolprimitive.test.fidl;l=8)*
### Bool {#SynchronousPrimitive.Bool}
#### Request {#SynchronousPrimitive.Bool_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>b</code></td>
<td>
<code>bool</code>
</td>
</tr></table>
#### Response {#SynchronousPrimitive.Bool_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>b</code></td>
<td>
<code>bool</code>
</td>
</tr><tr>
<td><code>b_2</code></td>
<td>
<code>bool</code>
</td>
</tr></table>
### Float32 {#SynchronousPrimitive.Float32}
#### Request {#SynchronousPrimitive.Float32_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>f32</code></td>
<td>
<code>float32</code>
</td>
</tr></table>
#### Response {#SynchronousPrimitive.Float32_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>f32</code></td>
<td>
<code>float32</code>
</td>
</tr><tr>
<td><code>f32_2</code></td>
<td>
<code>float32</code>
</td>
</tr></table>
### Float64 {#SynchronousPrimitive.Float64}
#### Request {#SynchronousPrimitive.Float64_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>u64</code></td>
<td>
<code>float64</code>
</td>
</tr></table>
#### Response {#SynchronousPrimitive.Float64_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>f64</code></td>
<td>
<code>float64</code>
</td>
</tr><tr>
<td><code>f64_2</code></td>
<td>
<code>float64</code>
</td>
</tr></table>
### Int16 {#SynchronousPrimitive.Int16}
#### Request {#SynchronousPrimitive.Int16_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>i16</code></td>
<td>
<code>int16</code>
</td>
</tr></table>
#### Response {#SynchronousPrimitive.Int16_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>i16</code></td>
<td>
<code>int16</code>
</td>
</tr><tr>
<td><code>i16_2</code></td>
<td>
<code>int16</code>
</td>
</tr></table>
### Int32 {#SynchronousPrimitive.Int32}
#### Request {#SynchronousPrimitive.Int32_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>i32</code></td>
<td>
<code>int32</code>
</td>
</tr></table>
#### Response {#SynchronousPrimitive.Int32_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>i32</code></td>
<td>
<code>int32</code>
</td>
</tr><tr>
<td><code>i32_2</code></td>
<td>
<code>int32</code>
</td>
</tr></table>
### Int64 {#SynchronousPrimitive.Int64}
#### Request {#SynchronousPrimitive.Int64_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>i64</code></td>
<td>
<code>int64</code>
</td>
</tr></table>
#### Response {#SynchronousPrimitive.Int64_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>i64</code></td>
<td>
<code>int64</code>
</td>
</tr><tr>
<td><code>i64_2</code></td>
<td>
<code>int64</code>
</td>
</tr></table>
### Int8 {#SynchronousPrimitive.Int8}
#### Request {#SynchronousPrimitive.Int8_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>i8</code></td>
<td>
<code>int8</code>
</td>
</tr></table>
#### Response {#SynchronousPrimitive.Int8_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>i8</code></td>
<td>
<code>int8</code>
</td>
</tr><tr>
<td><code>i8_2</code></td>
<td>
<code>int8</code>
</td>
</tr></table>
### Uint16 {#SynchronousPrimitive.Uint16}
#### Request {#SynchronousPrimitive.Uint16_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>u16</code></td>
<td>
<code>uint16</code>
</td>
</tr></table>
#### Response {#SynchronousPrimitive.Uint16_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>u16</code></td>
<td>
<code>uint16</code>
</td>
</tr><tr>
<td><code>u16_2</code></td>
<td>
<code>uint16</code>
</td>
</tr></table>
### Uint32 {#SynchronousPrimitive.Uint32}
#### Request {#SynchronousPrimitive.Uint32_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>u32</code></td>
<td>
<code>uint32</code>
</td>
</tr></table>
#### Response {#SynchronousPrimitive.Uint32_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>u32</code></td>
<td>
<code>uint32</code>
</td>
</tr><tr>
<td><code>u32_2</code></td>
<td>
<code>uint32</code>
</td>
</tr></table>
### Uint64 {#SynchronousPrimitive.Uint64}
#### Request {#SynchronousPrimitive.Uint64_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>u64</code></td>
<td>
<code>uint64</code>
</td>
</tr></table>
#### Response {#SynchronousPrimitive.Uint64_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>u64</code></td>
<td>
<code>uint64</code>
</td>
</tr><tr>
<td><code>u64_2</code></td>
<td>
<code>uint64</code>
</td>
</tr></table>
### Uint8 {#SynchronousPrimitive.Uint8}
#### Request {#SynchronousPrimitive.Uint8_Request}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>u8</code></td>
<td>
<code>uint8</code>
</td>
</tr></table>
#### Response {#SynchronousPrimitive.Uint8_Response}
<table>
<tr><th>Name</th><th>Type</th></tr>
<tr>
<td><code>u8</code></td>
<td>
<code>uint8</code>
</td>
</tr><tr>
<td><code>u8_2</code></td>
<td>
<code>uint8</code>
</td>
</tr></table>
## **STRUCTS**