aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Gt06FrameDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-02-22 10:39:02 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-02-22 10:39:02 +1300
commit547246a76bfe48d21b89164b0dd674e06bf3d6ab (patch)
tree1505d99cd26d3fdab888b941caef4a776202083f /src/org/traccar/protocol/Gt06FrameDecoder.java
parent2c8223bed1ae6ed809a50a4e459e3cc50068bd86 (diff)
downloadtrackermap-server-547246a76bfe48d21b89164b0dd674e06bf3d6ab.tar.gz
trackermap-server-547246a76bfe48d21b89164b0dd674e06bf3d6ab.tar.bz2
trackermap-server-547246a76bfe48d21b89164b0dd674e06bf3d6ab.zip
Add Telic custom frame decoder
Diffstat (limited to 'src/org/traccar/protocol/Gt06FrameDecoder.java')
-rw-r--r--src/org/traccar/protocol/Gt06FrameDecoder.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/Gt06FrameDecoder.java b/src/org/traccar/protocol/Gt06FrameDecoder.java
index 21f5c8b52..67f42efb4 100644
--- a/src/org/traccar/protocol/Gt06FrameDecoder.java
+++ b/src/org/traccar/protocol/Gt06FrameDecoder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2014 Anton Tananaev (anton.tananaev@gmail.com)
+ * Copyright 2014 - 2016 Anton Tananaev (anton.tananaev@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,9 +24,7 @@ public class Gt06FrameDecoder extends FrameDecoder {
@Override
protected Object decode(
- ChannelHandlerContext ctx,
- Channel channel,
- ChannelBuffer buf) throws Exception {
+ ChannelHandlerContext ctx, Channel channel, ChannelBuffer buf) throws Exception {
// Check minimum length
if (buf.readableBytes() < 5) {