|
CIRCT 22.0.0git
|
#include "esi/backends/RpcServer.h"#include "esi/Utils.h"#include "cosim.grpc.pb.h"#include <grpc/grpc.h>#include <grpcpp/security/server_credentials.h>#include <grpcpp/server.h>#include <grpcpp/server_builder.h>#include <grpcpp/server_context.h>#include <algorithm>#include <cassert>#include <cstdlib>
Go to the source code of this file.
Classes | |
| class | esi::cosim::RpcServer::Impl |
Typedefs | |
| using | Impl = esi::cosim::RpcServer::Impl |
Functions | |
| static void | writePort (uint16_t port) |
| Write the port number to a file. | |
| using Impl = esi::cosim::RpcServer::Impl |
Definition at line 96 of file RpcServer.cpp.
|
static |
Write the port number to a file.
Necessary when we are allowed to select our own port. We can't use stdout/stderr because the flushing semantics are undefined (as in flush() doesn't work on all simulators).
Definition at line 37 of file RpcServer.cpp.
Referenced by dmaWriteTest(), and esi::cosim::RpcServer::Impl::Impl().