|
Software TSN Switch
A software switch to connect VMs and Containers to a TSN network
|
#include <grpcpp/grpcpp.h>#include <unistd.h>#include <chrono>#include <csignal>#include <iostream>#include <memory>#include <thread>#include "CncServiceImpl.h"#include "spdlog/spdlog.h"
Functions | |
| void | signalHandler (int signum) |
| int | main (int argc, char **argv) |
Variables | |
| std::unique_ptr< grpc::Server > | g_server |
| volatile std::sig_atomic_t | g_shutdownRequested = 0 |
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
| void signalHandler | ( | int | signum | ) |
| std::unique_ptr<grpc::Server> g_server |
| volatile std::sig_atomic_t g_shutdownRequested = 0 |