dispatchMessage overloads

Synopses

Declared in <balb_controlmanager.h>

Parse and dispatch the specified complete message.

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

Dispatch the message in the specified stream for the specified prefix.

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

Return Value

0 on success, or a non‐zero value otherwise

Parameters

Name

Description

message

complete control message to parse and dispatch

prefix

case‐insensitive message prefix selecting the callback

stream

input stream containing the remainder of the message

Created with MrDocs