diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-14 19:17:02 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-14 19:17:02 +1200 |
commit | e98b18b8b0a8c99d24ac8010c1393978d071baa2 (patch) | |
tree | 48d63f067dcfaae9c0bdac34af4f9514a49ab9f5 /src/org/traccar/MainEventHandler.java | |
parent | 7310ee5f15729ea8517bfb6b0890a46da1217610 (diff) | |
download | trackermap-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.java | 2 |
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); } } } |