CIRCT  20.0.0git
Classes | Typedefs | Functions
RpcServer.cpp File Reference
#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>
Include dependency graph for RpcServer.cpp:

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. More...
 

Typedef Documentation

◆ Impl

Definition at line 96 of file RpcServer.cpp.

Function Documentation

◆ writePort()

static void writePort ( uint16_t  port)
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 esi::cosim::RpcServer::Impl::Impl().