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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user