31 "FS client endpoint in <host:port> format")
33 "Timeout in milliseconds for FS client connections")
35 alias(
"fs-timeout",
"FsBroker.Timeout");
37 alias(
"fs-host",
"FsBroker.Host");
38 alias(
"fs-port",
"FsBroker.Port");
53 (
"port",
i16(),
"Listening port")
54 (
"pidfile",
str(),
"File to contain the process id")
PropertiesPtr properties
This singleton map stores all options.
static Endpoint parse_endpoint(const char *endpoint, int defport=0)
Parse an endpoint string in (host:port) format.
void init_fs_client_options()
Po::typed_value< uint16_t > * i16(uint16_t *v=0)
Po::typed_value< String > * str(String *v=0)
Desc & cmdline_desc(const char *usage)
A macro which definds global functions like get_bool(), get_str(), get_i16() etc. ...
Po::typed_value< int32_t > * i32(int32_t *v=0)
Compatibility Macros for C/C++.
bool defaulted(const String &name)
Check if a configuration value is defaulted.
Internet address wrapper classes and utility functions.
void init_fs_broker_options()
void alias(const String &cmdline_opt, const String &file_opt, bool overwrite)
Setup command line option alias for config file option.
High-level entry point to a service; wraps a host:port pair.