/example-module

Implementation of Example module for Fleet protocol v2

Primary LanguageC++GNU Lesser General Public License v3.0LGPL-3.0

This is the implementation of Example module. Repo contains example_module libraries and a python client.

This module serves as an example for module maintainers to implement their own modules outside reserved range of modules. It is not intended to be used in production. Module number of this module is 1000.

For more details on the module, see module documentation.

Requirements

  • fleet protocol library - v2.0.0

Build

mkdir _build && cd _build
cmake .. -DCMLIB_DIR=<path-to-cmakelib-dir>
make

cmakelib directory is absolute path to this repo root directory.

Now shared libraries example_module_module_manager.so and example_module_external_server.so should be compiled in current directory. Use example_module_module_manager.so with module gateway and example_module_external_server.so with external server.

Example module client

See client readme