# fidl::OutgoingMessage

## Summary

### Inheritance

Inherits from: [fidl::Status](https://fuchsia.dev/reference/cpp/class/fidl/status)

| ### Constructors and Destructors ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1af45e7f837c8b4292c1cd6b0a371c6b0b(const https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message &)` ||
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1a16ea8d2867e762b0f8b2f43d837cdc63(https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message &&)` ||
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1a01f7055f0a8ee6631912d20f812dc9c9()` ||
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1a3ad4512a19ae9778d789c0053bd6d9b8(const ::https://fuchsia.dev/reference/cpp/class/fidl/status#classfidl_1_1_status & failure)` ||
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1a153450aa7d719b1651c7fd11d310fca5()` ||

| ### Public functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1a13dce7245119c4da9e5faf90294ae8bb(const https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message & other) const ` | `bool` |
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1a89acba514dad0ee1c3c0797c09b18c7d(TransportObject && transport, typename internal::AssociatedTransport< TransportObject >::MessageStorageView storage, https://fuchsia.dev/reference/cpp/struct/fidl/call-options#structfidl_1_1_call_options options)` | `auto` |
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1aae1eca518a9b7f0c703955673b3c37c8() const ` | `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message/copied-bytes#classfidl_1_1_outgoing_message_1_1_copied_bytes` |
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1a145cd7a1cf866e4871952c83da0567c3() const ` | `uint32_t` |
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1a07d7a9911dec2e6dd6ae0d096fe2ad14()` | `void` |
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1a767ec987f9add40c2b63f77d0d3178b8(internal::AnyUnownedTransport transport, https://fuchsia.dev/reference/cpp/struct/fidl/write-options#structfidl_1_1_write_options options)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1ae29634b886799f2acbe144f77de78801(TransportObject && transport, https://fuchsia.dev/reference/cpp/struct/fidl/write-options#structfidl_1_1_write_options options)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1adabb315dc7b31858c77f89dffb0f2657() const ` | `uint32_t` |
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1ae2c62504c19c0372a6c6f8182ca21c86() const ` | `Transport::HandleMetadata *` |
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1a1dd0ca72bc36f16b5fab4ebef2cff32d() const ` | `fidl_handle_t *` |
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1a13f83effa8119c1ab8bb15883bf52e6d() const ` | `uint32_t` |
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1a5e018a6f944d8c2058f41d72266a90fd() const ` | `https://fuchsia.dev/reference/cpp/struct/zx-channel-iovec#structzx__channel__iovec *` |
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1a4eba8a41876545798b4363bf1e3e18be() const ` | `bool` |
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1a7fd966f5fc0418981fd80a82019da9fb(const https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message &)=delete` | `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message &` |
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1a11b3c3a09bd5506b69b6e8ff7df55db1(https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message &&)=delete` | `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message &` |
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1a0cd40d38200f9411eda4d0d1eeb076a0(zx_txid_t txid)` | `void` |
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1a2d3871c9fec0ba80390afec99931a87e() const ` | `internal::fidl_transport_type` |

| ### Public static functions ||
|---|---|
| `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message_1a9e1dfd65a5fde5a780c6be39cd74f3eb(https://fuchsia.dev/reference/cpp/struct/fidl/outgoing-message/internal-iovec-constructor-args#structfidl_1_1_outgoing_message_1_1_internal_iovec_constructor_args args)` | `https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message#classfidl_1_1_outgoing_message` |

| ### Classes ||
|---|---|
| [fidl::OutgoingMessage::CopiedBytes](https://fuchsia.dev/reference/cpp/class/fidl/outgoing-message/copied-bytes) |   |

| ### Structs ||
|---|---|
| [fidl::OutgoingMessage::InternalIovecConstructorArgs](https://fuchsia.dev/reference/cpp/struct/fidl/outgoing-message/internal-iovec-constructor-args) |   |

## Public functions

### BytesMatch

```c++
bool BytesMatch(
  const OutgoingMessage & other
) const 
```

### Call

```c++
auto Call(
  TransportObject && transport,
  typename internal::AssociatedTransport< TransportObject >::MessageStorageView storage,
  CallOptions options
)
```

### CopyBytes

```c++
CopiedBytes CopyBytes() const 
```

### CountBytes

```c++
uint32_t CountBytes() const 
```

### OutgoingMessage

```c++
 OutgoingMessage(
  const OutgoingMessage &
)=delete
```

### OutgoingMessage

```c++
 OutgoingMessage(
  OutgoingMessage &&
)=delete
```

### OutgoingMessage

```c++
 OutgoingMessage()=delete
```

### OutgoingMessage

```c++
 OutgoingMessage(
  const ::fidl::Status & failure
)
```

### ReleaseHandles

```c++
void ReleaseHandles()
```

### Write

```c++
void Write(
  internal::AnyUnownedTransport transport,
  WriteOptions options
)
```

### Write

```c++
void Write(
  TransportObject && transport,
  WriteOptions options
)
```

### handle_actual

```c++
uint32_t handle_actual() const 
```

### handle_metadata

```c++
Transport::HandleMetadata * handle_metadata() const 
```

### handles

```c++
fidl_handle_t * handles() const 
```

### iovec_actual

```c++
uint32_t iovec_actual() const 
```

### iovecs

```c++
zx_channel_iovec_t * iovecs() const 
```

### is_transactional

```c++
bool is_transactional() const 
```

### operator=

```c++
OutgoingMessage & operator=(
  const OutgoingMessage &
)=delete
```

### operator=

```c++
OutgoingMessage & operator=(
  OutgoingMessage &&
)=delete
```

### set_txid

```c++
void set_txid(
  zx_txid_t txid
)
```

### transport_type

```c++
internal::fidl_transport_type transport_type() const 
```

### \~OutgoingMessage

```c++
 ~OutgoingMessage()
```

## Public static functions

### Create_InternalMayBreak

```c++
OutgoingMessage Create_InternalMayBreak(
  InternalIovecConstructorArgs args
)
```