com.limegroup.gnutella
Class NetworkUpdateSanityChecker
java.lang.Object
com.limegroup.gnutella.NetworkUpdateSanityChecker
public class NetworkUpdateSanityChecker
- extends Object
A sanity checker for many different in-network verification
requests.
If we cannot verify the message as received from a number
of hosts from different areas, message the user to hit
the website as the installation may possible be corrupted.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetworkUpdateSanityChecker
@Inject
public NetworkUpdateSanityChecker(com.google.inject.Provider<ActivityCallback> activityCallback)
handleNewRequest
public void handleNewRequest(ReplyHandler handler,
NetworkUpdateSanityChecker.RequestType type)
- Stores knowledge that we've requested a network-updatable component
from the given source.
- Parameters:
handler -
handleValidResponse
public void handleValidResponse(ReplyHandler handler,
NetworkUpdateSanityChecker.RequestType type)
- Acknowledge we received a valid response from the source.
- Parameters:
handler -
handleInvalidResponse
public void handleInvalidResponse(ReplyHandler handler,
NetworkUpdateSanityChecker.RequestType type)
- Acknowledge we received an invalid response from the source.
- Parameters:
handler -
Copyright © 2009. All Rights Reserved.