anthill.nest
Interface ResponseListener

All Known Implementing Classes:
ScenarioImpl

public interface ResponseListener

Listener interface which must be implemented by objects that want to be notified about the results of a request.


Method Summary
 void complete()
          Upcall method used to notify this listener that the request associated to it has finished to return resources.
 void returnResources(Resource[] resources)
          Upcall method used to notify this listener that the request associated to it has returned the specified set of resources.
 

Method Detail

returnResources

public void returnResources(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.