Adding the ActiveInterestListener to the DOFSystem

The provider in the example should only provide when activate-level interest or higher is detected, and the DOFSystem.ActiveInterestListener is used to detect this kind of interest. A requestor can send activate interest, which is interest that requests that a provider begin providing when the interest is received.

Here we add ActivateInterestListener to the DOFSystem.

How It Works

The DOFSystem.ActivateInterestListener interface is used by providers to react to activate or higher-level interest that is being expressed by requestor.