39template<
typename Message_body,
typename Struct_builder>
77template<
typename Message_body,
typename Struct_reader_config>
170template<
typename Message_body,
typename Struct_builder_config>
173 const typename Base::Builder::Session& session,
176 Base::emit_serialization(target_blobs, session, err_code);
179template<
typename Message_body,
typename Struct_builder_config>
182 return Base::n_serialization_segments();
187template<
typename Message_body,
typename Struct_reader_config>
190 Base(struct_reader_config)
195template<
typename Message_body,
typename Struct_reader_config>
199 Base::store_native_handle_or_null(std::move(native_handle_or_null));
202template<
typename Message_body,
typename Struct_reader_config>
205 return Base::add_serialization_segment(max_sz);
208template<
typename Message_body,
typename Struct_reader_config>
212 return Base::deserialize_mdt(logger_ptr, err_code);
215template<
typename Message_body,
typename Struct_reader_config>
218 Base::deserialize_body(err_code);
221template<
typename Message_body,
typename Struct_reader_config>
224 return Base::id_or_none();
227template<
typename Message_body,
typename Struct_reader_config>
230 return Base::originating_msg_id_or_none();
233template<
typename Message_body,
typename Struct_reader_config>
237 return Base::internal_msg_body_root();
240template<
typename Message_body,
typename Struct_reader_config>
243 return Base::session_token();
246template<
typename Message_body,
typename Struct_reader_config>
250 return Base::mdt_root();
Internally used (data-free) addendum on-top of Msg_in which makes the protected API public instead.
size_t deserialize_mdt(flow::log::Logger *logger_ptr, Error_code *err_code)
See super-class.
typename Base::Internal_msg_body_reader Internal_msg_body_reader
See super-class.
msg_id_t originating_msg_id_or_none() const
See super-class.
Msg_in_impl(const typename Base::Reader_config &struct_reader_config)
See super-class.
const Mdt_reader & mdt_root() const
See super-class.
Internal_msg_body_reader internal_msg_body_root() const
See super-class.
const Session_token & session_token() const
See super-class.
typename Base::Mdt_reader Mdt_reader
See super-class.
msg_id_t id_or_none() const
See super-class.
void store_native_handle_or_null(Native_handle &&native_handle_or_null)
See super-class.
flow::util::Blob * add_serialization_segment(size_t max_sz)
See super-class.
void deserialize_body(Error_code *err_code)
See super-class.
A structured in-message instance suitable as received and emittable (to user) by struc::Channel.
typename Mdt::Reader Mdt_reader
Same as Msg_mdt_out::Body_builder but the Reader instead.
Native_handle native_handle_or_null() const
The Native_handle – potentially null meaning none – embedded in this message.
Struct_reader_config Reader_config
See struc::Channel::Reader_config.
typename schema::detail::StructuredMessage::InternalMessageBody::Reader Internal_msg_body_reader
Reader counterpart to Msg_mdt_out::Internal_msg_body_builder.
Internally used (data-free) addendum on-top of Msg_out which makes the protected API public instead.
void emit_serialization(Segment_ptrs *target_blobs, const typename Base::Builder::Session &session, Error_code *err_code) const
See super-class.
size_t n_serialization_segments() const
See super-class.
A structured out-message suitable to be sent via struc::Channel::send().
unspecified Session
Type objects of which specify to emit_serialization() the opposing recipient for which the serializat...
Sub-module of Flow-IPC module ipc::transport providing transmission of structured messages specifical...
boost::uuids::uuid Session_token
A type used by struc::Channel for internal safety/security/auth needs.
std::vector< flow::util::Blob * > Segment_ptrs
Sequence of 1+ Blob pointers to blobs which must stay alive while these pointers may be dereferenced,...
uint64_t msg_id_t
Message ID uniquely identifying outgoing message (Msg_out, among all other Msg_outs),...
flow::Error_code Error_code
Short-hand for flow::Error_code which is very common.
A monolayer-thin wrapper around a native handle, a/k/a descriptor a/k/a FD.