From: Michal 'vorner' Vaner Date: Tue, 12 Jun 2012 11:13:44 +0000 (+0200) Subject: [1975] Docs: It is for single class only X-Git-Tag: trac2351_base~97^2~9^2~4^2~5^2~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a11c2a4ee291fe85a64c059cc94622c05de3c2fa;p=thirdparty%2Fkea.git [1975] Docs: It is for single class only --- diff --git a/src/lib/datasrc/container.h b/src/lib/datasrc/container.h index cf40492c66..4ffe1b2773 100644 --- a/src/lib/datasrc/container.h +++ b/src/lib/datasrc/container.h @@ -39,6 +39,9 @@ typedef boost::shared_ptr /// The purpose of this class is to hold several data sources and search /// through them to find one containing a zone best matching a request. /// +/// All the data source clients should be for the same class. If you need +/// to handle multiple classes, you need to create multiple separate containers. +/// /// This is an abstract base class. It is not expected we would use multiple /// implementation inside the servers (but it is not forbidden either), we /// have it to allow easy testing. It is possible to create a mock-up class