test_dvs_server.cpp
Last update: 17.04.2023
Go to the documentation of this file.
163 fprintf(stderr, " -d delay(ms) Milliseconds to delay between server updates. Default: %u\n", delay_ms);
164 fprintf(stderr, " -secret string Shared secret to use when talking with server Default: no shared secret\n");
165 fprintf(stderr, " -server n r v Start a server using server number [n], expecting [r] local ranks for DVS connections to connect to with verbosity [v]. Local Rank Min/Max: 1/1000\n");
166 fprintf(stderr, " -cache_uri str The URI for the server to use for the cache. Default: No cache\n");
168 fprintf(stderr, " -timeout sec Shutdown the server if no new data has been received within timeout. Default: %u sec\n", timeout_sec);
Interface class used to run a dynamic data server in a thread accepting incoming client connections.
Definition: dvs_server_interface.h:57
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 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 dvs_ret startup_unthreaded(uint32_t server_number, uint32_t local_ranks)=0
Startup a server manually without threads.
C++ Server API for using Dynamic Visualization Store Server.
Contains enums used in C/C++ API.
int32_t dvs_ret
Return value of methods, TODO.
Definition: dynamic_visualization_store_error_codes.h:17
#define DVS_NONE
No detected error has occurred.
Definition: dynamic_visualization_store_error_codes.h:81
int main(int argc, char **argv)
Main method of test client application.
Definition: test_dvs_server.cpp:73
void signal_callback_handler(int signum)
Simple signal handler to handle signal.
Definition: test_dvs_server.cpp:55