Create the Interest Operation

The interest operation allows a requestor to discover possible providers. The requestor will create and broadcast (or flood) an interest operation and any compatible provider will respond with its provide operation.

In this example, we will create two providers for the requestor to discover. We'll do this by sending interest for a specific object id and interface id as well as any provider that is already providing (using DOFInterestLevel.WATCH). This action will establish routes to providers of the Time-based Alarm.

Interest Operations

Requestors can perform interest operations for a variety of reasons, such as the following:

Interest Levels

A requestor can express the following enumerated interest levels:

How It Works

Mapping a route between a requestor and provider must be carefully balanced against the fact that interest operations flood the network and are stored in state on every network node. Use of interest operations where not otherwise required by an operation should be carefully managed by a system designer.