This class represents the tcp server for nymead. More...
Header: | #include <TcpServer> |
Inherits: | nymeaserver::TransportInterface |
void | setServerName(const int &serverName) override |
virtual bool | startServer() override |
virtual bool | stopServer() override |
This class represents the tcp server for nymead.
The TCP server allows clients to connect to the JSON-RPC API.
See also WebSocketServer and TransportInterface.
Sets the name of this server to the given serverName.
[override virtual]
bool TcpServer::startServer()Reimplemented from TransportInterface::startServer().
Returns true if this TcpServer started successfully.
See also TransportInterface::startServer().
[override virtual]
bool TcpServer::stopServer()Reimplemented from TransportInterface::stopServer().
Returns true if this TcpServer stopped successfully.
See also TransportInterface::startServer().