Skip to content

app/integration/JRpcServerFactory.hpp

More...

Namespaces

Name
sgns

Classes

Name
class sgns::JRpcServerFactory

Detailed Description

Date: 2024-03-05 Henrique A. Klein ([email protected])

Source code

#ifndef _JRPC_SERVER_FACTORY_HPP_
#define _JRPC_SERVER_FACTORY_HPP_

#include "api/jrpc/jrpc_server_impl.hpp"

namespace sgns
{
    class JRpcServerFactory
    {
        public: 
        std::shared_ptr<api::JRpcServer> create()
        {
            return std::make_shared<api::JRpcServerImpl>();
        }
    };
}

#endif

Updated on 2026-03-04 at 13:10:44 -0800