aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/GpsmtaProtocol.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-16 09:44:03 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-16 09:44:03 +1300
commita6b06189ea0f1b5a68c9cab49d50eccd98328bfa (patch)
tree2de173652f1ac0b0036181ed8acef5cc9d03a4ab /src/org/traccar/protocol/GpsmtaProtocol.java
parent9d159c880ab0fdb3f6f632dcb80577c6c2fb2f11 (diff)
downloadtrackermap-server-a6b06189ea0f1b5a68c9cab49d50eccd98328bfa.tar.gz
trackermap-server-a6b06189ea0f1b5a68c9cab49d50eccd98328bfa.tar.bz2
trackermap-server-a6b06189ea0f1b5a68c9cab49d50eccd98328bfa.zip
Use UDP protocol for GPSMTA
Diffstat (limited to 'src/org/traccar/protocol/GpsmtaProtocol.java')
-rw-r--r--src/org/traccar/protocol/GpsmtaProtocol.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/GpsmtaProtocol.java b/src/org/traccar/protocol/GpsmtaProtocol.java
index 28974855d..2c4c1f218 100644
--- a/src/org/traccar/protocol/GpsmtaProtocol.java
+++ b/src/org/traccar/protocol/GpsmtaProtocol.java
@@ -15,7 +15,7 @@
*/
package org.traccar.protocol;
-import org.jboss.netty.bootstrap.ServerBootstrap;
+import org.jboss.netty.bootstrap.ConnectionlessBootstrap;
import org.jboss.netty.channel.ChannelPipeline;
import org.jboss.netty.handler.codec.string.StringDecoder;
import org.traccar.BaseProtocol;
@@ -31,7 +31,7 @@ public class GpsmtaProtocol extends BaseProtocol {
@Override
public void initTrackerServers(List<TrackerServer> serverList) {
- serverList.add(new TrackerServer(new ServerBootstrap(), this.getName()) {
+ serverList.add(new TrackerServer(new ConnectionlessBootstrap(), this.getName()) {
@Override
protected void addSpecificHandlers(ChannelPipeline pipeline) {
pipeline.addLast("stringDecoder", new StringDecoder());