git-subtree-dir: libs/CommService git-subtree-split: 7ccc0fce88bbc5969df060058cf0fb57abe3bcf9
35 lines
825 B
C++
35 lines
825 B
C++
#ifndef __BCCLI_TESTSERVICE_HPP__
|
|
#define __BCCLI_TESTSERVICE_HPP__
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
/**
|
|
* @file
|
|
* @brief header file for the testservice subcommand of the bccli application
|
|
* @author Dominik Meyer <dmeyer@hsu-hh.de>
|
|
* @date 2019-02-06
|
|
* @copyright 2019 no yet defined
|
|
*/
|
|
#include <string>
|
|
#include <BC/receiveable.hpp>
|
|
|
|
namespace BCCLI
|
|
{
|
|
void testservice(const std::string &broadcastAddress, const std::string &srcAddress, unsigned short port);
|
|
|
|
namespace testService
|
|
{
|
|
|
|
class receiver : public BC::receiveable
|
|
{
|
|
public:
|
|
void receive(BC::Message *m) override;
|
|
};
|
|
|
|
}; // namespace testService
|
|
};
|
|
|
|
#endif
|