diff options
author | Irving Gonzalez <ialexis93@gmail.com> | 2015-06-10 20:44:11 -0600 |
---|---|---|
committer | Irving Gonzalez <ialexis93@gmail.com> | 2015-06-10 20:44:11 -0600 |
commit | d76d9459b18cb27c7a21ef5da3a7f68c178d51f5 (patch) | |
tree | 1579a6d55734bae35f8ac0c6584c8d1c9492b991 /src/org/traccar/BasePipelineFactory.java | |
parent | 5dc81b6197b9a1387adffdc2628c24ca483d2376 (diff) | |
download | trackermap-server-d76d9459b18cb27c7a21ef5da3a7f68c178d51f5.tar.gz trackermap-server-d76d9459b18cb27c7a21ef5da3a7f68c178d51f5.tar.bz2 trackermap-server-d76d9459b18cb27c7a21ef5da3a7f68c178d51f5.zip |
Revert "Begin implementing alerts"
This reverts commit 5dc81b6197b9a1387adffdc2628c24ca483d2376.
Diffstat (limited to 'src/org/traccar/BasePipelineFactory.java')
-rw-r--r-- | src/org/traccar/BasePipelineFactory.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java index 1f18ce48e..fcb6266ef 100644 --- a/src/org/traccar/BasePipelineFactory.java +++ b/src/org/traccar/BasePipelineFactory.java @@ -32,7 +32,6 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory { private final TrackerServer server; private FilterHandler filterHandler; - private AlertHandler alertHandler; private Integer resetDelay; private Boolean processInvalidPositions; @@ -94,11 +93,6 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory { if (enableFilter != null && Boolean.valueOf(enableFilter)) { filterHandler = new FilterHandler(); } - - String enableAlerts = Context.getProps().getProperty("alert.enable"); - if(enableAlerts != null && Boolean.valueOf(enableAlerts)){ - alertHandler = new AlertHandler(); - } if (Context.getReverseGeocoder() != null) { // Default behavior is to process invalid positions (i.e., the "null" case) @@ -123,9 +117,6 @@ public abstract class BasePipelineFactory implements ChannelPipelineFactory { if (filterHandler != null) { pipeline.addLast("filter", filterHandler); } - if (alertHandler != null) { - pipeline.addLast("alert", alertHandler); - } if (Context.getReverseGeocoder() != null) { pipeline.addLast("geocoder", new ReverseGeocoderHandler(Context.getReverseGeocoder(), processInvalidPositions)); } |