aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/MainEventHandler.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-09 10:47:43 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-09 10:47:43 +1300
commit9ec7166889b9b0492a18a338e6dc5352743209b8 (patch)
tree455782947763d7d6e4828276b8b7843222356ef3 /src/org/traccar/MainEventHandler.java
parentf727af19cb994517ca3685239e506ff6beeaaa76 (diff)
downloadtrackermap-server-9ec7166889b9b0492a18a338e6dc5352743209b8.tar.gz
trackermap-server-9ec7166889b9b0492a18a338e6dc5352743209b8.tar.bz2
trackermap-server-9ec7166889b9b0492a18a338e6dc5352743209b8.zip
Add initial code for device status
Diffstat (limited to 'src/org/traccar/MainEventHandler.java')
-rw-r--r--src/org/traccar/MainEventHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/MainEventHandler.java b/src/org/traccar/MainEventHandler.java
index 81376724b..48bfb3fc9 100644
--- a/src/org/traccar/MainEventHandler.java
+++ b/src/org/traccar/MainEventHandler.java
@@ -46,7 +46,7 @@ public class MainEventHandler extends IdleStateAwareChannelHandler {
s.append("course: ").append(position.getCourse());
Log.info(s.toString());
- Context.getConnectionManager().update(position);
+ Context.getConnectionManager().updatePosition(position);
}
}