36template<
typename Server_session_t>
90 template<
typename Session_server_impl_t,
91 typename Task_err,
typename Cli_app_lookup_func,
typename Cli_namespace_func,
typename Pre_rsp_setup_func,
92 typename N_init_channels_by_srv_req_func,
typename Mdt_load_func>
94 typename Base::Channels* init_channels_by_srv_req,
95 typename Base::Mdt_reader_ptr* mdt_from_cli_or_null,
96 typename Base::Channels* init_channels_by_cli_req,
97 Cli_app_lookup_func&& cli_app_lookup_func, Cli_namespace_func&& cli_namespace_func,
98 Pre_rsp_setup_func&& pre_rsp_setup_func,
99 N_init_channels_by_srv_req_func&& n_init_channels_by_srv_req_func,
100 Mdt_load_func&& mdt_load_func,
101 Task_err&& on_done_func);
113#define TEMPLATE_SRV_SESSION_DTL \
114 template<typename Server_session_t>
116#define CLASS_SRV_SESSION_DTL \
117 Server_session_dtl<Server_session_t>
120CLASS_SRV_SESSION_DTL::Server_session_dtl(flow::log::Logger* logger_ptr,
const Server_app& srv_app_ref,
122 Base(logger_ptr, srv_app_ref, std::move(master_channel_sock_stm))
128template<
typename Session_server_impl_t,
129 typename Task_err,
typename Cli_app_lookup_func,
typename Cli_namespace_func,
typename Pre_rsp_setup_func,
130 typename N_init_channels_by_srv_req_func,
typename Mdt_load_func>
131void CLASS_SRV_SESSION_DTL::async_accept_log_in
132 (Session_server_impl_t* srv,
133 typename Base::Channels* init_channels_by_srv_req,
134 typename Base::Mdt_reader_ptr* mdt_from_cli_or_null,
135 typename Base::Channels* init_channels_by_cli_req,
136 Cli_app_lookup_func&& cli_app_lookup_func,
137 Cli_namespace_func&& cli_namespace_func,
138 Pre_rsp_setup_func&& pre_rsp_setup_func,
139 N_init_channels_by_srv_req_func&& n_init_channels_by_srv_req_func,
140 Mdt_load_func&& mdt_load_func,
141 Task_err&& on_done_func)
143 Base::async_accept_log_in(srv, init_channels_by_srv_req, mdt_from_cli_or_null, init_channels_by_cli_req,
144 std::move(cli_app_lookup_func), std::move(cli_namespace_func),
145 std::move(pre_rsp_setup_func),
146 std::move(n_init_channels_by_srv_req_func), std::move(mdt_load_func),
147 std::move(on_done_func));
151const typename CLASS_SRV_SESSION_DTL::Session_base_obj& CLASS_SRV_SESSION_DTL::base()
const
156#undef CLASS_SRV_SESSION_DTL
157#undef TEMPLATE_SRV_SESSION_DTL
This is the data-less sub-class of Server_session or any more-advanced (e.g., SHM-capable) variant th...
void async_accept_log_in(Session_server_impl_t *srv, typename Base::Channels *init_channels_by_srv_req, typename Base::Mdt_reader_ptr *mdt_from_cli_or_null, typename Base::Channels *init_channels_by_cli_req, Cli_app_lookup_func &&cli_app_lookup_func, Cli_namespace_func &&cli_namespace_func, Pre_rsp_setup_func &&pre_rsp_setup_func, N_init_channels_by_srv_req_func &&n_init_channels_by_srv_req_func, Mdt_load_func &&mdt_load_func, Task_err &&on_done_func)
See protected counterpart.
typename Base::Session_base_obj Session_base_obj
See protected counterpart.
const Session_base_obj & base() const
Provides const access to Session_base super-object.
Server_session_dtl(flow::log::Logger *logger_ptr, const Server_app &srv_app_ref, transport::sync_io::Native_socket_stream &&master_channel_sock_stm)
See protected counterpart.
Implements both sync_io::Native_handle_sender and sync_io::Native_handle_receiver concepts by using a...
Flow-IPC module providing the broad lifecycle and shared-resource organization – via the session conc...
#define TEMPLATE_SRV_SESSION_DTL
Internally used macro; public API users should disregard (same deal as in struc/channel....
An App that is used as a server in at least one client-server IPC split.