core
Interface ApplicationListener

All Known Implementing Classes:
PingAppReporter

public interface ApplicationListener

Interface for classes that want to be informed about messages between hosts.

Report classes wishing to receive application events should implement this interface. Note that the application event names are defined by the applications so any class wishing to interpret them must know the application.


Method Summary
 void gotEvent(java.lang.String event, java.lang.Object params, Application app, DTNHost host)
          Application has generated an event.
 

Method Detail

gotEvent

void gotEvent(java.lang.String event,
              java.lang.Object params,
              Application app,
              DTNHost host)
Application has generated an event.

Parameters:
event - Event name.
params - Additional parameters for the event
app - Application instance that generated the event.
host - The host this application instance is running on.