[#BloombergLP-balb-ControlManager-registerHandler] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/ControlManager.adoc[ControlManager]::registerHandler :relfileprefix: ../../../ :mrdocs: Register the specified `handler` to be invoked whenever a control message having the specified case‐insensitive `prefix` is received by this control manager. Also register the specified `arguments` string to describe the arguments accepted by the message, and the specified `description` to describe its operation; these are printed by `printUsage`. Return a positive value if an existing callback was replaced, return 0 if no replacement occurred, and return a negative value otherwise. == Synopsis Declared in `<balb_controlmanager.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int registerHandler( std::string_view const& prefix, std::string_view const& arguments, std::string_view const& description, xref:BloombergLP/balb/ControlManager/ControlHandler.adoc[ControlHandler] const& handler); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#