Added type to generateReport().

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5563 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-11-19 19:43:36 +00:00
parent 13c9f01b6e
commit 9a67119557
5 changed files with 15 additions and 9 deletions
@@ -42,7 +42,12 @@ public interface PeerService extends InvocationService
void invokeAction (Client client, byte[] serializedAction);
/**
* Generates a server status report for this peer and returns it to the supplied listener.
* 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.
*/
void generateReport (Client client, ResultListener listener);
void generateReport (Client client, String type, ResultListener listener);
}