BloombergLP::balb::ControlManager::dispatchMessage

dispatchMessage overloads

Synopses

Declared in <balb_controlmanager.h>

Parse and dispatch the specified complete message.

int
dispatchMessage(std::string_view const& message) const;
» more...

Dispatch the message in the specified stream for the specified prefix.

int
dispatchMessage(
    bsl::string const& prefix,
    std::istream& stream) const;
» more...

Return Value

0 on success, or a non-zero value otherwise

Parameters

NameDescription
messagecomplete control message to parse and dispatch
prefixcase-insensitive message prefix selecting the callback
streaminput stream containing the remainder of the message