DOFSystembeginProvide Method (DOFInterface, DOFObjectProvider)OpenDOF Object Access Library
Used by a Provider to begin providing the specified interface indefinitely (equivalent to specifying a timeout of DOF.TIMEOUT_NEVER ) on all objects. To quit providing use DOFOperation.cancel() .

The Provider will only respond to Get, Set, Invoke, and Define requests. That is, the provider will not respond to any interest-based activity. You will interact with this Provider only from a Requestor that has no interest, meaning a Requestor that will flood its requests.

NOTE: Since all object IDs are accepted, all attributes are accepted too. In a secure deployment, make sure that where the org.opendof.core.oal.security.DOFPermission.Binding.ACTION_PROVIDE action is specified, no objectID is specified and org.opendof.core.oal.security.DOFPermission.Binding.Builder.setAllAttributesAllowed(bool) is true. This will allow the provider to work as an "All Objects" provider.

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

C#
public DOFOperationProvide beginProvide(
	DOFInterface iface,
	DOFObjectProvider provider
)

Parameters

iface
Type: org.opendof.core.oalDOFInterface
The interface to be provided. This must not be null.
provider
Type: org.opendof.core.oalDOFObjectProvider
The listener to handle requests on this interface. Null = no desired listener (may be used for "marker interfaces"/no provider implementation).

Return Value

Type: DOFOperationProvide
The provide operation that may be used to end providing. Will not be null.
See Also

Reference