configurable hub callback.