aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/CharacterDelimiterFrameDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-11-23 12:15:36 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-11-23 12:15:36 +1300
commit7471a8526945833ce68744e579d9b77f3145def1 (patch)
tree74d971dce460e024e99b511ded6e7ea694810576 /src/org/traccar/CharacterDelimiterFrameDecoder.java
parent7a857c727ac11f0c48c7213c81b37aa0d8ef5675 (diff)
downloadtrackermap-server-7471a8526945833ce68744e579d9b77f3145def1.tar.gz
trackermap-server-7471a8526945833ce68744e579d9b77f3145def1.tar.bz2
trackermap-server-7471a8526945833ce68744e579d9b77f3145def1.zip
Implement C2STEK 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 7ce83ff78..eeb8834dc 100644
--- a/src/org/traccar/CharacterDelimiterFrameDecoder.java
+++ b/src/org/traccar/CharacterDelimiterFrameDecoder.java
@@ -50,6 +50,10 @@ public class CharacterDelimiterFrameDecoder extends DelimiterBasedFrameDecoder {
super(maxFrameLength, createDelimiter(delimiter));
}
+ public CharacterDelimiterFrameDecoder(int maxFrameLength, boolean stripDelimiter, String delimiter) {
+ super(maxFrameLength, stripDelimiter, createDelimiter(delimiter));
+ }
+
public CharacterDelimiterFrameDecoder(int maxFrameLength, String... delimiters) {
super(maxFrameLength, convertDelimiters(delimiters));
}