[#BloombergLP-balb-ControlManager-dispatchMessage-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/ControlManager.adoc[ControlManager]::dispatchMessage :relfileprefix: ../../../ :mrdocs: `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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/balb/ControlManager/dispatchMessage-02.adoc[dispatchMessage](std::string_view const& message) const; ---- [.small]#xref:BloombergLP/balb/ControlManager/dispatchMessage-02.adoc[_» more..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/balb/ControlManager/dispatchMessage-08.adoc[dispatchMessage]( xref:bsl/string.adoc[bsl::string] const& prefix, std::istream& stream) const; ---- [.small]#xref:BloombergLP/balb/ControlManager/dispatchMessage-08.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#