> While your at it I noticed that the member fDestinationsHashTable of 
> OnDemandServerMediaSubsession is private while the class Destinations is 
> declared in the header with a comment about it being accessible by 
> subclasses. In addition many of the methods that interact with 
> fDestinationsHashTable  like getStreamParameters(), startStream(), 
> endStream(), etc are all declared virtual implying that sub classes should 
> have access to fDestinationsHashTable and it should be declared protected.

No, the fact that a class's member function is declared virtual doesn't imply 
that all data structures that happen to be used by that member function's 
implementation in the base class should be made accessible by subclasses.  
There was never any intention to have "fDestinationsHashTable" be accessible by 
subclasses of "OnDemandServerMediaSubsession".  (If you feel you need this, 
however, just let me know.)


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to