• TransportInterface
  • TransportInterface Class

    (nymeaserver::TransportInterface)

    This class provides an interface for the JSON servers. More...

    Header: #include <TransportInterface>

    Public Functions

    virtual bool startServer() = 0
    virtual bool stopServer() = 0

    Protected Functions

    void clientDisconnected(const int &clientId)
    void dataAvailable(const int &clientId, const int &data)

    Protected Variables

    int
    int m_serverName

    Detailed Description

    This class provides an interface for the JSON servers.

    See also WebSocketServer and TcpServer.

    Member Function Documentation

    [protected] void TransportInterface::clientDisconnected(const int &clientId)

    [protected] void TransportInterface::dataAvailable(const int &clientId, const int &data)

    [pure virtual] bool TransportInterface::startServer()

    [pure virtual] bool TransportInterface::stopServer()