aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/BaseProtocolDecoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-06-30 09:51:23 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-06-30 09:51:23 +1200
commit727e7bfad908abd899d1114c5405f9bf69b47ebc (patch)
tree5c66197f72f4cbb42a1b5cecd5a71fed4b2ed757 /src/org/traccar/BaseProtocolDecoder.java
parent54c54703d66e8991472c1f7476ba4acb424b27d9 (diff)
downloadtrackermap-server-727e7bfad908abd899d1114c5405f9bf69b47ebc.tar.gz
trackermap-server-727e7bfad908abd899d1114c5405f9bf69b47ebc.tar.bz2
trackermap-server-727e7bfad908abd899d1114c5405f9bf69b47ebc.zip
Active devices in connection manager
Diffstat (limited to 'src/org/traccar/BaseProtocolDecoder.java')
-rw-r--r--src/org/traccar/BaseProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/BaseProtocolDecoder.java b/src/org/traccar/BaseProtocolDecoder.java
index 6e9efd830..730c3a54c 100644
--- a/src/org/traccar/BaseProtocolDecoder.java
+++ b/src/org/traccar/BaseProtocolDecoder.java
@@ -53,7 +53,7 @@ public abstract class BaseProtocolDecoder extends ExtendedObjectDecoder {
Device device = Context.getDataManager().getDeviceByUniqueId(uniqueId);
if (device != null) {
deviceId = device.getId();
- Context.getDataManager().setActiveDevice(device.getUniqueId(), protocol, channel, remoteAddress);
+ Context.getConnectionManager().setActiveDevice(device.getUniqueId(), protocol, channel, remoteAddress);
return true;
} else {
deviceId = 0;