fpmas 1.6
Public Member Functions | List of all members
fpmas::synchro::hard::VoidServer Class Reference

#include <server_pack.h>

Inheritance diagram for fpmas::synchro::hard::VoidServer:
Inheritance graph
[legend]
Collaboration diagram for fpmas::synchro::hard::VoidServer:
Collaboration graph
[legend]

Public Member Functions

void setEpoch (api::Epoch) override
 
api::Epoch getEpoch () const override
 
void handleIncomingRequests () override
 
virtual void setEpoch (Epoch epoch)=0
 
virtual Epoch getEpoch () const =0
 
virtual void handleIncomingRequests ()=0
 

Detailed Description

An api::Server implementation that does not handle any request.

Member Function Documentation

◆ setEpoch()

void fpmas::synchro::hard::VoidServer::setEpoch ( api::Epoch  epoch)
inlineoverridevirtual

Sets the current Epoch of the server.

Parameters
epochcurrent Epoch

Implements fpmas::synchro::hard::api::Server.

◆ getEpoch()

api::Epoch fpmas::synchro::hard::VoidServer::getEpoch ( ) const
inlineoverridevirtual

Gets the current Epoch of the server.

Returns
current epoch

Implements fpmas::synchro::hard::api::Server.

◆ handleIncomingRequests()

void fpmas::synchro::hard::VoidServer::handleIncomingRequests ( )
inlineoverridevirtual

Performs the full reception cycle associated to this server.

If at least one request supposed to be handled by this server is pending, the server must handle at least one of those request to ensure progress and avoid deadlock situations.

Implements fpmas::synchro::hard::api::Server.


The documentation for this class was generated from the following file: