helics  3.5.1
Public Member Functions | List of all members
helics::apps::AsioBrokerServer Class Reference

#include <AsioBrokerServer.hpp>

+ Inheritance diagram for helics::apps::AsioBrokerServer:

Public Member Functions

 AsioBrokerServer (std::string_view)
 
void enableTcpServer (bool)
 
void enableUdpServer (bool)
 
virtual void startServer (const Json::Value *, const std::shared_ptr< TypedBrokerServer > &) override
 
virtual void stopServer () override
 
- Public Member Functions inherited from helics::apps::TypedBrokerServer
virtual void processArgs (std::string_view args)
 

Additional Inherited Members

- Static Protected Member Functions inherited from helics::apps::TypedBrokerServer
static ActionMessage generateMessageResponse (const ActionMessage &rxcmd, portData &pdata, CoreType ctype)
 
static int getOpenPort (portData &pd)
 
static void assignPort (portData &pd, int pnumber, std::shared_ptr< Broker > &brk)
 
static void logMessage (std::string_view message)
 

Detailed Description

a virtual class to use as a base for broker servers of various types

Member Function Documentation

◆ startServer()

void helics::apps::AsioBrokerServer::startServer ( const Json::Value *  val,
const std::shared_ptr< TypedBrokerServer > &   
)
inlineoverridevirtual

start the server

Implements helics::apps::TypedBrokerServer.

◆ stopServer()

void helics::apps::AsioBrokerServer::stopServer ( )
inlineoverridevirtual

stop the server

Implements helics::apps::TypedBrokerServer.


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