For nodes with an in-memory NodeState object the value is read from this object. The method RefreshNodesCache is called for nodes with a cache value older than the client requested maxAge.
For nodes without an in-memory NodeState object the method ReadVirtualNodes() is called.
Visual Basic (Declaration) | |
---|---|
Public Overrides Sub Read( _ ByVal context As OperationContext, _ ByVal maxAge As Double, _ ByVal nodesToRead As IList(Of ReadValueId), _ ByVal values As IList(Of DataValue), _ ByVal errors As IList(Of ServiceResult) _ ) |
C# | |
---|---|
public override void Read( OperationContext context, double maxAge, IList<ReadValueId> nodesToRead, IList<DataValue> values, IList<ServiceResult> errors ) |
Parameters
- context
- The operation context for the call.
- maxAge
- The cache value age that for a cache refresh.
- nodesToRead
- the client requested nodes/attributes
- values
- The read values
- errors
- The request handling status.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family