82template<
typename Session>
85 private boost::noncopyable
114 template<
typename... Ctor_args>
138 template<
typename Event_wait_func_t>
139 bool start_ops(Event_wait_func_t&& ev_wait_func);
150 template<
typename Create_ev_wait_hndl_func>
177template<
typename Session>
178template<
typename... Ctor_args>
180 Base(std::forward<Ctor_args>(ctor_args)...)
185template<
typename Session>
186template<
typename Event_wait_func_t>
189 return Base::start_ops(std::move(ev_wait_func));
192template<
typename Session>
193template<
typename Create_ev_wait_hndl_func>
197 return Base::replace_event_wait_handles(create_ev_wait_hndl_func);
200template<
typename Session>
207template<
typename Session>
214template<
typename Session>
218 return os <<
"SIO@" <<
static_cast<const void*
>(&val) <<
" cli_sess[" << (*(val.
core())) <<
']';
sync_io-pattern counterpart to async-I/O-pattern session::Client_session types and all their SHM-awar...
typename Base::Session_obj Session_obj
Short-hand, for generic programming et al, for template parameter Session.
bool start_ops(Event_wait_func_t &&ev_wait_func)
Sets up the sync_io-pattern interaction between *this and the user's event loop; required before *thi...
Session_obj * core()
The adapted mutable Session_obj.
typename Base::Async_io_obj Async_io_obj
Useful for generic programming, the async-I/O-pattern counterpart to *this type.
typename Base::Sync_io_obj Sync_io_obj
You may disregard.
bool replace_event_wait_handles(const Create_ev_wait_hndl_func &create_ev_wait_hndl_func)
Analogous to transport::sync_io::Native_handle_sender::replace_event_wait_handles().
Client_session_adapter(Ctor_args &&... ctor_args)
Forwards to the Session_obj ctor.
Internal-use workhorse containing common elements of Client_session_adapter and Server_session_adapte...
const flow::log::Component & get_log_component() const
See flow::log::Log_context.
transport::Null_peer Sync_io_obj
See, e.g., Client_session_adapter.
flow::log::Logger * get_logger() const
See flow::log::Log_context.
Session Session_obj
See, e.g., Client_session_adapter.
Session_obj Async_io_obj
See, e.g., Client_session_adapter.
sync_io-pattern counterparts to async-I/O-pattern object types in parent namespace ipc::session.
std::ostream & operator<<(std::ostream &os, const Server_session_adapter< Session > &val)
Prints string representation of the given Server_session_adapter to the given ostream.