Flow-IPC 1.0.1
Flow-IPC project: Full implementation reference.
Public Types | Public Member Functions | List of all members
ipc::session::Server_session_dtl< Server_session_t > Class Template Reference

This is the data-less sub-class of Server_session or any more-advanced (e.g., SHM-capable) variant thereof that exposes protected APIs hidden from public user by providing public access to them; this is used internally by Session_server. More...

#include <server_session_dtl.hpp>

Inheritance diagram for ipc::session::Server_session_dtl< Server_session_t >:
[legend]
Collaboration diagram for ipc::session::Server_session_dtl< Server_session_t >:
[legend]

Public Types

using Base = Server_session_t
 Short-hand for base class. More...
 
using Session_base_obj = typename Base::Session_base_obj
 See protected counterpart. More...
 

Public Member Functions

 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. More...
 
template<typename Session_server_impl_t , typename Task_err , typename Cli_app_lookup_func , typename Cli_namespace_func , typename Pre_rsp_setup_func , typename N_init_channels_by_srv_req_func , typename Mdt_load_func >
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. More...
 
const Session_base_objbase () const
 Provides const access to Session_base super-object. More...
 

Detailed Description

template<typename Server_session_t>
class ipc::session::Server_session_dtl< Server_session_t >

This is the data-less sub-class of Server_session or any more-advanced (e.g., SHM-capable) variant thereof that exposes protected APIs hidden from public user by providing public access to them; this is used internally by Session_server.

The background is briefly explained in the impl section of Server_session doc header.

Template Parameters
Server_session_tThe object whose protected stuff to expose.

Definition at line 37 of file server_session_dtl.hpp.

Member Typedef Documentation

◆ Base

Short-hand for base class.

Definition at line 44 of file server_session_dtl.hpp.

◆ Session_base_obj

template<typename Server_session_t >
using ipc::session::Server_session_dtl< Server_session_t >::Session_base_obj = typename Base::Session_base_obj

See protected counterpart.

Definition at line 47 of file server_session_dtl.hpp.

Constructor & Destructor Documentation

◆ Server_session_dtl()

template<typename Server_session_t >
ipc::session::Server_session_dtl< Server_session_t >::Server_session_dtl ( flow::log::Logger *  logger_ptr,
const Server_app srv_app_ref,
transport::sync_io::Native_socket_stream &&  master_channel_sock_stm 
)
explicit

See protected counterpart.

Parameters
logger_ptrSee protected counterpart.
srv_app_refSee protected counterpart.
master_channel_sock_stmSee protected counterpart.

Definition at line 120 of file server_session_dtl.hpp.

Member Function Documentation

◆ async_accept_log_in()

template<typename Server_session_t >
template<typename Session_server_impl_t , typename Task_err , typename Cli_app_lookup_func , typename Cli_namespace_func , typename Pre_rsp_setup_func , typename N_init_channels_by_srv_req_func , typename Mdt_load_func >
void ipc::session::Server_session_dtl< Server_session_t >::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.

Parameters
srvSee protected counterpart.
init_channels_by_srv_reqSee protected counterpart.
mdt_from_cli_or_nullSee protected counterpart.
init_channels_by_cli_reqSee protected counterpart.
cli_app_lookup_funcSee protected counterpart.
cli_namespace_funcSee protected counterpart.
pre_rsp_setup_funcSee protected counterpart.
n_init_channels_by_srv_req_funcSee protected counterpart.
mdt_load_funcSee protected counterpart.
on_done_funcSee protected counterpart.

Definition at line 131 of file server_session_dtl.hpp.

◆ base()

Provides const access to Session_base super-object.

Returns
See above.

Definition at line 151 of file server_session_dtl.hpp.

Referenced by ipc::session::Session_server_impl< Session_server_t, Server_session_t >::Session_server_impl().

Here is the caller graph for this function:

The documentation for this class was generated from the following file: