BloombergLP::balb::ControlManager::registerDefaultHandler

Register a handler for messages with unregistered prefixes.

Synopsis

Declared in <balb_controlmanager.h>

int
registerDefaultHandler(ControlHandler const& hander);

Description

Register the specified handler to be invoked whenever a control message having an unregistered (case-insensitive) prefix is received by this control manager. Return a positive value if an existing callback was replaced, return 0 if no replacement occurred, and return a negative value otherwise.

Return Value

positive if replaced, 0 if new, negative otherwise

Parameters

NameDescription
handercallback invoked for messages with unregistered prefixes