17 #ifndef HF_APP_TRANSPORT_H 18 #define HF_APP_TRANSPORT_H 20 #include <forward_list> 86 Transport *transport()
const This is the top level include file for the HAN-FUN library.
Transport Layer implementation over TCP/IP using libuv.
Parent class for transport layer implementations on a HAN-FUN Concentrator device.
uv_stream_s * stream
libuv stream to send/receive messages.
Parent class for all HF::Transport::Link implementations.
Transport * tsp
Transport layer for this link.
void destroy()
Free the system resources associated with this transport layer.
uv_tcp_t socket
libuv tcp/ip socket.
This class represents a byte array.
void send(HF::Common::ByteArray &array)
Send the data in the given ByteArray using the link to the remote end-point.
void initialize()
Initialize the associated transport layer.
Link(Transport *_tsp, uv_stream_s *stream)
Constructor.
Transport Layer link implementation over TCP/IP using libuv.
Top-level namespace for the HAN-FUN library.