-
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
8 changed files
with
79 additions
and
31 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
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
13 changes: 9 additions & 4 deletions
13
verkeersdrukte/src/main/java/nl/bertriksikken/verkeersdrukte/traffic/ITrafficHandler.java
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,17 +1,22 @@ | ||
package nl.bertriksikken.verkeersdrukte.traffic; | ||
|
||
public interface ITrafficHandler { | ||
import nl.bertriksikken.geojson.FeatureCollection; | ||
|
||
public interface ITrafficHandler { | ||
|
||
boolean isHealthy(); | ||
|
||
AggregateMeasurement getDynamicData(String location); | ||
|
||
void subscribe(String clientId, INotifyData callback); | ||
FeatureCollection getStaticData(); | ||
|
||
FeatureCollection.Feature getStaticData(String location); | ||
|
||
void subscribe(String clientId, INotifyData callback); | ||
|
||
void unsubscribe(String clientId); | ||
void unsubscribe(String clientId); | ||
|
||
public interface INotifyData { | ||
interface INotifyData { | ||
void notifyUpdate(); | ||
} | ||
} |
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
File renamed without changes.
File renamed without changes.
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