C++ class to speed up development of network components