Refactored Stream to use StreamrClient instead of directly using service classes (e.g. StreamRegistry).
Also reordered Stream methods to to match the order in StreamrClient.
Removed StreamFactory class, as Stream instances can now be created directly with the Stream constructor.
Small functionality change
Moved clearStreamCache() call from Stream#delete() into StreamRegistry.deleteStream(). This way the cache is cleared also when StreamrClient#deleteStream() is called.
Also removed unnecessary clearStreamCache() from removeStorageNode().
Refactored
Stream
to useStreamrClient
instead of directly using service classes (e.g.StreamRegistry
).Also reordered
Stream
methods to to match the order inStreamrClient
.Removed
StreamFactory
class, asStream
instances can now be created directly with theStream
constructor.Small functionality change
Moved
clearStreamCache()
call fromStream#delete()
intoStreamRegistry.deleteStream()
. This way the cache is cleared also whenStreamrClient#deleteStream()
is called.Also removed unnecessary
clearStreamCache()
fromremoveStorageNode()
.