Class faabric::transport::MessageEndpointServer
-
class MessageEndpointServer
Subclassed by faabric::planner::PlannerServer, faabric::scheduler::FunctionCallServer, faabric::snapshot::SnapshotServer, faabric::state::StateServer, faabric::transport::PointToPointServer
Public Functions
-
MessageEndpointServer(int asyncPortIn, int syncPortIn, const std::string &inprocLabelIn, int nThreadsIn)
-
virtual void start(int timeoutMs = DEFAULT_SOCKET_TIMEOUT_MS)
We need to guarantee to callers of this function, that when it returns, the server will be ready to use.
-
virtual void stop()
-
virtual void onWorkerStop()
-
void setRequestLatch()
-
void awaitRequestLatch()
-
int getNThreads()
-
MessageEndpointServer(int asyncPortIn, int syncPortIn, const std::string &inprocLabelIn, int nThreadsIn)