DOFInterestListenerinterestRemoved Method OpenDOF Object Access Library
Called when an interest request is canceled or times out.

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

C#
void interestRemoved(
	DOF dof,
	DOFRequest request,
	DOFObjectID objectID,
	DOFInterfaceID interfaceID,
	DOFInterestLevel level
)

Parameters

dof
Type: org.opendof.core.oalDOF
The DOF where this listener was added. This will never be null.
request
Type: org.opendof.core.oalDOFRequest
The interest request that was canceled. This will never be null.
objectID
Type: org.opendof.core.oalDOFObjectID
The DOFObjectID associated with the original interest request. This may be DOFObjectID.BROADCAST . This will never be null.
interfaceID
Type: org.opendof.core.oalDOFInterfaceID
The DOFInterfaceID associated with the original interest request. This may be DOFInterfaceID.WILDCARD . This will never be null.
level
Type: org.opendof.core.oalDOFInterestLevel
The level of interest that was canceled. This will never be null.
Remarks

Called when an interest request is canceled or times out. When this callback is called, it does not always mean that no interest is requested for the given object and interface, because more than one interest request may have been received for the same binding. If needed, use DOFSystem.isInterestRequested(DOFObjectID, DOFInterfaceID, DOFInterestLevel) to check if interest is still requested.

This callback is primarily for monitoring; no action needs to be taken, and the request should not be completed in this callback.

See Also

Reference