Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Features.Topics.DefaultValueStream< TValue > Class Template Reference

Represents the abstract default value stream. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.Topics.DefaultValueStream< TValue >:
PushTechnology.ClientInterface.Client.Features.Topics.IValueStream< in TValue >

Public Member Functions

virtual void OnValue (string topicPath, ITopicSpecification specification, TValue oldValue, TValue newValue)
 Notifies an update to a topic value from the server. More...
 

Detailed Description

Represents the abstract default value stream.

Template Parameters
TValueThe value type.

This logs all calls at 'Debug' level. These implementations may be useful during development but are usually overridden to provide meaningful processing.



Since 5.8

Member Function Documentation

virtual void PushTechnology.ClientInterface.Client.Features.Topics.DefaultValueStream< TValue >.OnValue ( string  topicPath,
ITopicSpecification  specification,
TValue  oldValue,
TValue  newValue 
)
virtual

Notifies an update to a topic value from the server.

Parameters
topicPathThe topic path.
specificationThe topic specification.
oldValueThe previous value, which may be null if this is the first value.
newValueThe new value derived from the last update received from the server.

This is also called to provide the current value for any matching topic that the client is already subscribed to when the stream is added.

Implements PushTechnology.ClientInterface.Client.Features.Topics.IValueStream< in TValue >.


The documentation for this class was generated from the following file: