DOFSystemActivateInterestListener InterfaceOpenDOF Object Access Library
Listener for DOFInterestLevel.ACTIVATE -level interest (and higher) requests, used by Providers to react to interest being expressed by Requestor.

Requestors initiate interest requests with DOFSystem.beginInterest(DOFObjectID, DOFInterestLevel) . Providers react to ACTIVATE-level interest requests using this listener.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public interface ActivateInterestListener

The DOFSystemActivateInterestListener type exposes the following members.

Methods

  NameDescription
Public methodactivate
This method is called when DOFInterestLevel.ACTIVATE -level interest (and higher) is expressed for an interface on an object. The provider should start providing the binding. Guard against calling beginProvide multiple times for the same objectID and interfaceID since this method will be called for every interest received at this level.
Public methodcancelActivate
This method is called when DOFInterestLevel.ACTIVATE -level interest (and higher) is complete (no longer desired) for an interface on an object. The provider should stop providing the binding if there is no other ACTIVATE-level interest remaining. Call DOFObject.isInterestRequested(DOFInterfaceID, DOFInterestLevel) to determine if any interest remains on this binding.
Public methodremoved
This method is called when this listener is removed from the DOFSystem.
Top
See Also

Reference

InterestListener
StreamRequestListener