aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/MainEventHandler.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-07-14 19:17:02 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-07-14 19:17:02 +1200
commite98b18b8b0a8c99d24ac8010c1393978d071baa2 (patch)
tree48d63f067dcfaae9c0bdac34af4f9514a49ab9f5 /src/org/traccar/MainEventHandler.java
parent7310ee5f15729ea8517bfb6b0890a46da1217610 (diff)
downloadtrackermap-server-e98b18b8b0a8c99d24ac8010c1393978d071baa2.tar.gz
trackermap-server-e98b18b8b0a8c99d24ac8010c1393978d071baa2.tar.bz2
trackermap-server-e98b18b8b0a8c99d24ac8010c1393978d071baa2.zip
Support forwarding of data (fix #1131)
Diffstat (limited to 'src/org/traccar/MainEventHandler.java')
-rw-r--r--src/org/traccar/MainEventHandler.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/org/traccar/MainEventHandler.java b/src/org/traccar/MainEventHandler.java
index b32d577de..c28340f98 100644
--- a/src/org/traccar/MainEventHandler.java
+++ b/src/org/traccar/MainEventHandler.java
@@ -43,6 +43,8 @@ public class MainEventHandler extends IdleStateAwareChannelHandler {
s.append("lat: ").append(position.getLatitude()).append(", ");
s.append("lon: ").append(position.getLongitude());
Log.info(s.toString());
+
+ Context.getConnectionManager().update(position);
}
}
}