BloombergLP::balb::ControlManager::dispatchMessage

Dispatch the message contained in the specified stream to the callback associated with the specified prefix. Return 0 on success, and a non-zero value otherwise; in particular return non-zero if no registered callback could be found for the case-insensitive prefix and no default handler is installed.

Synopsis

Declared in <balb_controlmanager.h>

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