Zusi 3 TCP Protocol Library
An implementation of the Zusi 3 TCP protocol in C++.
|
Parent class for a connection. More...
#include <Zusi3TCP.h>
Inherited by zusi::ClientConnection.
Public Member Functions | |
Connection (Socket *socket) | |
Create connection which will communicate over socket. More... | |
bool | receiveMessage (Node &dest) const |
Receive a message. | |
bool | sendMessage (Node &src) |
Send a message. | |
Protected Attributes | |
Socket * | m_socket |
Parent class for a connection.
|
inline |
Create connection which will communicate over socket.
socket | The socket - class does not take ownership of it |