aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-19 10:45:05 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-19 10:45:05 +1200
commit278712a8720e1e93e63063d7854a1767dd06c3f2 (patch)
treea8b679db42df304047f40d5c04d46ce1c534ea20 /src/org/traccar/protocol
parent601ffd5cc7e1d6fa66938915264cd2c1d1dbf8bc (diff)
downloadtrackermap-server-278712a8720e1e93e63063d7854a1767dd06c3f2.tar.gz
trackermap-server-278712a8720e1e93e63063d7854a1767dd06c3f2.tar.bz2
trackermap-server-278712a8720e1e93e63063d7854a1767dd06c3f2.zip
Add UDP support for TR900 (fix #1246)
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/Tr900ProtocolDecoder.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Tr900ProtocolDecoder.java b/src/org/traccar/protocol/Tr900ProtocolDecoder.java
index 8839f230b..e5674b262 100644
--- a/src/org/traccar/protocol/Tr900ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Tr900ProtocolDecoder.java
@@ -21,6 +21,7 @@ import org.traccar.BaseProtocolDecoder;
import org.traccar.model.Event;
import org.traccar.model.Position;
+import java.net.SocketAddress;
import java.util.Calendar;
import java.util.TimeZone;
import java.util.regex.Matcher;
@@ -56,7 +57,7 @@ public class Tr900ProtocolDecoder extends BaseProtocolDecoder {
@Override
protected Object decode(
- ChannelHandlerContext ctx, Channel channel, Object msg)
+ ChannelHandlerContext ctx, Channel channel, SocketAddress remoteAddress, Object msg)
throws Exception {
String sentence = (String) msg;