mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 17:47:21 +02:00
Cleanup rpc
This commit is contained in:
@@ -5,4 +5,10 @@
|
||||
#ifndef RPCFACTORY_H
|
||||
#define RPCFACTORY_H
|
||||
|
||||
class RPCFactory {
|
||||
public:
|
||||
static std::shared_ptr<IRPCServer> createRPCServer() {
|
||||
return std::make_shared<TCPServer>();
|
||||
}
|
||||
|
||||
#endif //RPCFACTORY_H
|
||||
|
||||
Reference in New Issue
Block a user