| 897 | |
| 898 | FlightPayload() = default; |
| 899 | FlightPayload(std::shared_ptr<Buffer> descriptor, std::shared_ptr<Buffer> app_metadata, |
| 900 | ipc::IpcPayload ipc_message) |
| 901 | : descriptor(std::move(descriptor)), |
| 902 | app_metadata(std::move(app_metadata)), |
| 903 | ipc_message(std::move(ipc_message)) {} |
| 904 | |
| 905 | /// \brief Check that the payload can be written to the wire. |
| 906 | Status Validate() const; |