aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/CharacterDelimiterFrameDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-25 15:44:08 +0400
committerAnton Tananaev <anton.tananaev@gmail.com>2018-10-25 15:44:08 +0400
commit8fd45f48667a40a9111d8833f5335cfee4ea1fd5 (patch)
tree1d6e6771ab9f8dff7439764edcd7816f8a638ce9 /src/org/traccar/CharacterDelimiterFrameDecoder.java
parent8560d199a4440fb83ddbc46b81d0b0b0281d0385 (diff)
downloadtrackermap-server-8fd45f48667a40a9111d8833f5335cfee4ea1fd5.tar.gz
trackermap-server-8fd45f48667a40a9111d8833f5335cfee4ea1fd5.tar.bz2
trackermap-server-8fd45f48667a40a9111d8833f5335cfee4ea1fd5.zip
Support Ericar protocol
Diffstat (limited to 'src/org/traccar/CharacterDelimiterFrameDecoder.java')
-rw-r--r--src/org/traccar/CharacterDelimiterFrameDecoder.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/org/traccar/CharacterDelimiterFrameDecoder.java b/src/org/traccar/CharacterDelimiterFrameDecoder.java
index 5175f9b37..7ce83ff78 100644
--- a/src/org/traccar/CharacterDelimiterFrameDecoder.java
+++ b/src/org/traccar/CharacterDelimiterFrameDecoder.java
@@ -54,4 +54,8 @@ public class CharacterDelimiterFrameDecoder extends DelimiterBasedFrameDecoder {
super(maxFrameLength, convertDelimiters(delimiters));
}
+ public CharacterDelimiterFrameDecoder(int maxFrameLength, boolean stripDelimiter, String... delimiters) {
+ super(maxFrameLength, stripDelimiter, convertDelimiters(delimiters));
+ }
+
}