dispatchMessage overloads

Synopses

Declared in <balb_controlmanager.h>

Parse the specified complete message and dispatch it. 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 in message and no default handler is installed.

int
dispatchMessage(std::string_view const& message) const;

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.

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

Created with MrDocs