• TcpServer
  • TcpServer Class

    class nymeaserver::TcpServer

    This class represents the tcp server for nymead. More...

    Header: #include <TcpServer>
    Inherits: nymeaserver::TransportInterface

    Reimplemented Public Functions

    virtual bool startServer() override
    virtual bool stopServer() override

    Detailed Description

    The TCP server allows clients to connect to the JSON-RPC API.

    See also WebSocketServer and TransportInterface.

    Member Function Documentation

    [override virtual] bool TcpServer::startServer()

    Reimplements: TransportInterface::startServer().

    Returns true if this TcpServer started successfully.

    See also TransportInterface::startServer().

    [override virtual] bool TcpServer::stopServer()

    Reimplements: TransportInterface::stopServer().

    Returns true if this TcpServer stopped successfully.

    See also TransportInterface::startServer().