|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
---|
void gotEvent(java.lang.String event, java.lang.Object params, Application app, DTNHost host)
event
- Event name.params
- Additional parameters for the eventapp
- Application instance that generated the event.host
- The host this application instance is running on.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |