aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/ServerManager.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-03-03 12:13:43 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-03-03 12:13:43 +1300
commit51ebdc5e806edbb5fe978e42a380edcf4ce6fffc (patch)
tree4517b1291ccb50daf746dc2619f2117b64ace89d /src/org/traccar/ServerManager.java
parent808e1134878630796bb9e35e0f5501be942f4c5b (diff)
downloadtrackermap-server-51ebdc5e806edbb5fe978e42a380edcf4ce6fffc.tar.gz
trackermap-server-51ebdc5e806edbb5fe978e42a380edcf4ce6fffc.tar.bz2
trackermap-server-51ebdc5e806edbb5fe978e42a380edcf4ce6fffc.zip
Add MTA6CAN protocol
Diffstat (limited to 'src/org/traccar/ServerManager.java')
-rw-r--r--src/org/traccar/ServerManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/ServerManager.java b/src/org/traccar/ServerManager.java
index 0d55b4e0d..0c7995313 100644
--- a/src/org/traccar/ServerManager.java
+++ b/src/org/traccar/ServerManager.java
@@ -649,7 +649,7 @@ public class ServerManager {
protected void addSpecificHandlers(ChannelPipeline pipeline) {
pipeline.addLast("httpDecoder", new HttpRequestDecoder());
pipeline.addLast("httpEncoder", new HttpResponseEncoder());
- pipeline.addLast("objectDecoder", new Mta6ProtocolDecoder(ServerManager.this));
+ pipeline.addLast("objectDecoder", new Mta6ProtocolDecoder(ServerManager.this, false));
}
});
}
@@ -662,7 +662,7 @@ public class ServerManager {
protected void addSpecificHandlers(ChannelPipeline pipeline) {
pipeline.addLast("httpDecoder", new HttpRequestDecoder());
pipeline.addLast("httpEncoder", new HttpResponseEncoder());
- pipeline.addLast("objectDecoder", new Mta6ProtocolDecoder(ServerManager.this));
+ pipeline.addLast("objectDecoder", new Mta6ProtocolDecoder(ServerManager.this, true));
}
});
}