MCPcopy Create free account
hub / github.com/apache/trafficserver / execute

Method execute

src/traffic_ctl/CtrlCommands.cc:77–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75CtrlCommand::CtrlCommand(ts::Arguments *args) : _arguments(args) {}
76
77void
78CtrlCommand::execute()
79{
80 if (_invoked_func) {
81 _invoked_func();
82 } else {
83 throw std::logic_error("CtrlCommand::execute(): Internal error. There should be a function to invoke. (_invoked_func not set)");
84 }
85}
86
87std::string
88RPCAccessor::invoke_rpc(std::string const &request, std::chrono::milliseconds timeout_ms, int attempts)

Callers 2

mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected