anthill.nest
Interface ResponseListener
- All Known Implementing Classes:
- GnutantScenario, ScenarioImpl
- public interface ResponseListener
Listener interface which must be implemented by objects
that want to be notified about the results of a request.
- Version:
- $Revision$
- Author:
- Alberto Montresor
Method Summary |
void |
complete()
Upcall method used to notify this listener that the request
associated to it has finished to return resources. |
void |
returnResources(RequestId rid,
Resource[] resources)
Upcall method used to notify this listener that the request
associated to it has returned the specified set of resources. |
returnResources
public void returnResources(RequestId rid,
Resource[] resources)
- Upcall method used to notify this listener that the request
associated to it has returned the specified set of resources.
- Parameters:
resources
- the resources found.
complete
public void complete()
- Upcall method used to notify this listener that the request
associated to it has finished to return resources.