This amends the design from the previous PR. The pervious approach of a factory function parameter to the constructor made it difficult to provide a useful factory function because the MultiChannelStream instance could not yet be referenced at the time it was being constructed. A protected virtual CreateStream method is a more flexible design.
This amends the design from the previous PR. The pervious approach of a factory function parameter to the constructor made it difficult to provide a useful factory function because the
MultiChannelStream
instance could not yet be referenced at the time it was being constructed. Aprotected virtual CreateStream
method is a more flexible design.