Definition at line 448 of file Options.h.
◆ ConnectivityConfiguration()
Definition at line 472 of file Options.h.
473 : ConfigurationBase(qty, args)
474 {
475 }
◆ host()
| std::string host |
( |
| ) |
const |
|
inline |
Definition at line 451 of file Options.h.
452 {
454 }
Value argOrDefault(const Options &options, const Char *option, const Value &defaultValue=Value())
◆ port()
◆ showOptions()
| void showOptions |
( |
std::ostream & | out | ) |
const |
|
inlineoverrideprotectedvirtual |
Implements ConfigurationBase.
Definition at line 477 of file Options.h.
478 {
479 out
480 << " --host [host]" << std::endl
481 << "\tIf not specified, an emulator is used." << std::endl
482 << " --port [port]" << std::endl;
483 }
◆ useEmulator()
| bool useEmulator |
( |
| ) |
const |
|
inline |
Definition at line 461 of file Options.h.
462 {
463 return argOrDefault<std::string>(options(), "host", {}).empty();
464 }
◆ useTLS()
Definition at line 466 of file Options.h.
467 {
468 return !useEmulator() && port() == Default::TlsPort;
469 }