[#BloombergLP-balb-ControlManager-dispatchMessage-02]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/ControlManager.adoc[ControlManager]::dispatchMessage
:relfileprefix: ../../../
:mrdocs:

Parse and dispatch the specified complete message&period;

== Synopsis

Declared in `&lt;balb&lowbar;controlmanager&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
dispatchMessage(std::string&lowbar;view const& message) const;
----

== Description

Return 0 on success, and a non&hyphen;zero value otherwise&semi; in particular return non&hyphen;zero if no registered callback could be found for the case&hyphen;insensitive prefix in `message` and no default handler is installed&period;

== Return Value

0 on success, or a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *message*
| complete control message to parse and dispatch
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
