Create a new TopicCache instance
the data types
All the topic cache entries by their ID
All the topic cache entries by their topic path
A reference to the DataTypes object that supplies the available data types
Clear all streams from the cache
Handle a delta on a given topic ID
the topic ID
the delta content
the stream registry
an error handler
Handle a subscription to a new topic
This is called by the internal session when the client subscribes to a new topic. A new entry TopicCacheEntry is created and all streams in the stream registry that select the subscribed path will be added to that entry.
The entry will then be notified of the initial subscription.
the information about the new topic
the stream registry
Handle an unsubscription event on a given topic ID
the topic ID
reason for unsubscribing
the stream registry
Handle a value on a given topic ID
the topic ID
the new content
the stream registry
an error handler
Add a new stream into the topic cache
The stream will be added to all current entries that the stream selects.
the topic selector of the topics that the stream should receive events for
the stream adapter to add
the stream registry
Clear the topic cache and notify all entries of an unsubscription
the stream registry
Remove all streams from the cache
Removes all streams from all entries without removing the entries themselves
Remove a stream from the topic cache
Removes the stream from all entries that contain it.
the stream adapter to remove
the stream registry
Interface for the topic cache The topic cache used by the internal session to cache all topic values that the session subscribes to.