1.) Instantiate DVS::IServer using DVS::CREATE_SERVER_INSTANCE() method
2.) Set options using DVS::IServer::set_options() or DVS::IServer::set_option()
3.) Startup server using DVS::IServer::startup()
4.) If needed see if it’s running via DVS::IServer::running()
5.) Shutdown server using DVS::IServer::shutdown()
6.) Destroy instance using DVS::DESTROY_SERVER_INSTANCE()
Members
- clear_options
- create_query
- create_transport
- get_timestep_count
- get_uri
- IServer
- IServer
- IServer
- operator=
- operator=
- running
- set_option
- set_options
- shutdown
- startup
- startup_unthreaded
- terminating
- update
- ~IServer
Public Functions
Function IServer
Function ~IServer
Function IServer
- IServer &&
Function operator=
- IServer &&
Function IServer
- const IServer &
Function operator=
- const IServer &
Function set_options
- options: Options to Set on the Server, See DVS::IServer::set_option() for Options Available
- const std::map< const char *, const char * > & options
Function set_option
CACHE_URI: This will set the location and type of cache to store data to. Parameters:
- key: Name of Option to Set
- value: Value of Option
- const char * key
- const char * value
Function clear_options
Function running
Function get_timestep_count
- num_pending: The Number of Pending Timesteps Not Complete Yet
- num_complete: num_complete the Number of Complete Timesteps
- uint32_t & num_pending
- uint32_t & num_complete
Function startup
- server_number: The Server Number (Zero Based) for This Server, Should Be Unique for Each Server in This Server Group
- local_ranks: Number of Local Ranks This Server Will Handle
- uint32_t server_number
- uint32_t local_ranks
Function startup_unthreaded
- server_number: The Server Number (Zero Based) for This Server, Should Be Unique for Each Server in This Server Group
- local_ranks: Number of Local Ranks This Server Will Handle
- uint32_t server_number
- uint32_t local_ranks
Function update
Function terminating
Function shutdown
Function create_transport
- shared_secret: The Transport Protocol Shared Secret String Used to Validate Connections. It May Be an Empty String. If “SERVER_SECURITY_SECRET” Is Set as a Server Option shared_secret Will Be Ignored.
- const std::string & shared_secret
Function get_uri
Function create_query
- parent: An Eventual Parent Query to Create the New Query With. Defaults to nullptr
- filter: An Eventual Filter String to Apply to the New Query. Defaults to the Empty String
- const std::string & filter = std::string()
- DVS::IQuery * parent = nullptr