dvs_server_interface
Last update: 16.07.2025
Go to the documentation of this file.
214 virtual DVS::IQuery* create_query(const std::string& filter=std::string(), DVS::IQuery* parent=nullptr) = 0;
Interface class used to run a dynamic data server in a thread accepting incoming client connections.
Definition dvs_server_interface.h:60
virtual void set_option(const char *key, const char *value)=0
Set a specific option on the server, these are used during startup See See Server Options.
virtual dvs_ret startup(uint32_t server_number, uint32_t local_ranks)=0
Start the server.
virtual ITransport * create_transport(const std::string &shared_secret)=0
Create a transport object to communicate with server, must be destroyed.
virtual void shutdown()=0
Shutdown the server, also called on server destruction by DVS::DESTROY_SERVER_INSTANCE()
virtual dvs_ret get_timestep_count(uint32_t &num_pending, uint32_t &num_complete) const =0
return the current number of pending and complete timesteps in the server
virtual void set_options(const std::map< const char *, const char * > &options)=0
Set a collection of options on the server. Overwrites previous options See. See Server Options.
virtual dvs_ret startup_unthreaded(uint32_t server_number, uint32_t local_ranks)=0
Startup a server manually without threads.
virtual DVS::IQuery * create_query(const std::string &filter=std::string(), DVS::IQuery *parent=nullptr)=0
Create a DVS query instance. This will inherit the DVS server reader instance.
DVS Reader API Query Interface.
DVS_DLL_EXPORT IServer * CREATE_SERVER_INSTANCE(const char *uri)
Create a DVS::IServer instance for clients to connect to.
DVS_DLL_EXPORT void DESTROY_SERVER_INSTANCE(DVS::IServer *destroy)
Destroy the server instance (also shutting it down if needed)
int32_t dvs_ret
Return value of methods, TODO.
Definition dynamic_visualization_store_error_codes.h:32