forked from akeranen/the-one
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
325 changed files
with
35,291 additions
and
35,109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
/* | ||
/* | ||
* Copyright 2010 Aalto University, ComNet | ||
* Released under GPLv3. See LICENSE.txt for details. | ||
* Released under GPLv3. See LICENSE.txt for details. | ||
*/ | ||
package core; | ||
|
||
package core; | ||
|
||
/** | ||
* <p> | ||
* Interface for classes that want to be informed about messages | ||
* <p> | ||
* Interface for classes that want to be informed about messages | ||
* between hosts. | ||
* </p> | ||
* | ||
* | ||
* <p> | ||
* 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. | ||
* </p> | ||
* | ||
* | ||
* @author teemuk | ||
* @author mjpitka | ||
*/ | ||
public interface ApplicationListener { | ||
/** | ||
* @author mjpitka | ||
*/ | ||
public interface ApplicationListener { | ||
|
||
/** | ||
* Application has generated an event. | ||
* | ||
* | ||
* @param event Event name. | ||
* @param params Additional parameters for the event | ||
* @param app Application instance that generated the event. | ||
* @param host The host this application instance is running on. | ||
*/ | ||
*/ | ||
public void gotEvent(String event, Object params, Application app, | ||
DTNHost host); | ||
} | ||
DTNHost host); | ||
} |
Oops, something went wrong.