src/common/ReplierListener.hpp
ReplierListener(
            const std::function<T2(const T &)> &on_request)
            : on_request_(on_request)
    {
    }
/**
     * @brief Constructor
     *
     * @param on_connect on connect callback
     * @param on_disconnect on disconnect callback
     */
@brief Constructor
@param on_connect on connect callback
@param on_disconnect on disconnect callback
@brief Constructor @param on_connect on connect callback @param on_disconnect on disconnect callback
ReplierListener(
            const std::function<T2(const T &)> &on_request)
            : on_request_(on_request)
    {
    }
ReplierListener ( const std :: function < T2 ( const T & ) > & on_request ) : on_request_ ( on_request ) { }
@brief Constructor
 @param on_connect on connect callback
 @param on_disconnect on disconnect callback
@brief Constructor @param on_connect on connect callback @param on_disconnect on disconnect callback