diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-15 00:19:39 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-01-15 00:19:39 +1300 |
commit | b5bd3e35f563825c9d40eaa04c02bc6397029219 (patch) | |
tree | 05684875856d3908fdec3c582ecbf2153a5bdfb8 /src/org/traccar/protocol/MaxonProtocolDecoder.java | |
parent | 38fbc3e872717a1179abd00a48b600b489f9fead (diff) | |
download | traccar-server-b5bd3e35f563825c9d40eaa04c02bc6397029219.tar.gz traccar-server-b5bd3e35f563825c9d40eaa04c02bc6397029219.tar.bz2 traccar-server-b5bd3e35f563825c9d40eaa04c02bc6397029219.zip |
Pass ServerManager to every protocol decoder
Diffstat (limited to 'src/org/traccar/protocol/MaxonProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/MaxonProtocolDecoder.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/org/traccar/protocol/MaxonProtocolDecoder.java b/src/org/traccar/protocol/MaxonProtocolDecoder.java index 9bad2c965..c5b53bab0 100644 --- a/src/org/traccar/protocol/MaxonProtocolDecoder.java +++ b/src/org/traccar/protocol/MaxonProtocolDecoder.java @@ -21,9 +21,9 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; import org.jboss.netty.channel.Channel; import org.jboss.netty.channel.ChannelHandlerContext; -import org.traccar.GenericProtocolDecoder; +import org.traccar.BaseProtocolDecoder; +import org.traccar.ServerManager; import org.traccar.helper.Log; -import org.traccar.model.DataManager; import org.traccar.model.Position; /** @@ -33,7 +33,7 @@ import org.traccar.model.Position; * It sends its identity after the GPRMC sentence, and with the type * GPFID. */ -public class MaxonProtocolDecoder extends GenericProtocolDecoder { +public class MaxonProtocolDecoder extends BaseProtocolDecoder { /** * Device ID @@ -43,8 +43,8 @@ public class MaxonProtocolDecoder extends GenericProtocolDecoder { /** * Initialize */ - public MaxonProtocolDecoder(DataManager dataManager) { - super(dataManager); + public MaxonProtocolDecoder(ServerManager serverManager) { + super(serverManager); } /** |