Allow reporters to be registered for different report types and the type to be

specified at report generation time.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5564 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-11-19 19:53:46 +00:00
parent 9a67119557
commit 457c8a59d6
4 changed files with 39 additions and 26 deletions
@@ -45,9 +45,7 @@ public interface PeerService extends InvocationService
* Generates a server status report for this peer and returns it to the supplied listener. The
* result must be a string.
*
* @param type the default implementation always generates a state of the server report, but
* derived classes can request different report types from their peers to take advantage of
* this convenient mechanism for collecting per-peer data.
* @param type the type of report to generate. See ReportManager for more information.
*/
void generateReport (Client client, String type, ResultListener listener);
}