aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/BasePipelineFactory.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-08-13 20:36:46 +0500
committerAbyss777 <abyss@fox5.ru>2016-08-13 20:36:46 +0500
commit82c2d713d4da71f8eeef3e134b06dbb0abf37633 (patch)
treecd9ae5e6e49073ae756220a5159e7e2b9207428a /src/org/traccar/BasePipelineFactory.java
parentb47795087d138ccd6d9634aadcfd29cbca629218 (diff)
downloadtrackermap-server-82c2d713d4da71f8eeef3e134b06dbb0abf37633.tar.gz
trackermap-server-82c2d713d4da71f8eeef3e134b06dbb0abf37633.tar.bz2
trackermap-server-82c2d713d4da71f8eeef3e134b06dbb0abf37633.zip
- Split distance to distance and total distance
- Switch summary report to total distance - Move DistanceHandler after filters in pipeline - Other accompanying changes
Diffstat (limited to 'src/org/traccar/BasePipelineFactory.java')
-rw-r--r--src/org/traccar/BasePipelineFactory.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java
index e2b991afa..615251d5f 100644
--- a/src/org/traccar/BasePipelineFactory.java
+++ b/src/org/traccar/BasePipelineFactory.java
@@ -179,9 +179,6 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory {
if (hemisphereHandler != null) {
pipeline.addLast("hemisphere", hemisphereHandler);
}
- if (distanceHandler != null) {
- pipeline.addLast("distance", distanceHandler);
- }
if (reverseGeocoderHandler != null) {
pipeline.addLast("geocoder", reverseGeocoderHandler);
}
@@ -200,6 +197,10 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory {
pipeline.addLast("coordinatesHandler", coordinatesHandler);
}
+ if (distanceHandler != null) {
+ pipeline.addLast("distance", distanceHandler);
+ }
+
if (Context.getDataManager() != null) {
pipeline.addLast("dataHandler", new DefaultDataHandler());
}