aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/MiniFinderProtocol.java
diff options
context:
space:
mode:
authorHans van den Elsen <hans.elsen@esds.nl>2016-02-09 15:46:11 +0100
committerHans van den Elsen <hans.elsen@esds.nl>2016-02-09 15:46:11 +0100
commit7883c78aef55c73cbfb4213f7720f3e450f89c75 (patch)
tree64b6bd000bfd84c697cab5e8d5d54ac7873b6c74 /src/org/traccar/protocol/MiniFinderProtocol.java
parenta8c6a98f80858f2e04753086c1877c75f5abcf80 (diff)
downloadtrackermap-server-7883c78aef55c73cbfb4213f7720f3e450f89c75.tar.gz
trackermap-server-7883c78aef55c73cbfb4213f7720f3e450f89c75.tar.bz2
trackermap-server-7883c78aef55c73cbfb4213f7720f3e450f89c75.zip
Added API endpoint for our raw commands
Diffstat (limited to 'src/org/traccar/protocol/MiniFinderProtocol.java')
-rw-r--r--src/org/traccar/protocol/MiniFinderProtocol.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/MiniFinderProtocol.java b/src/org/traccar/protocol/MiniFinderProtocol.java
index cd159c8b7..33cd054f1 100644
--- a/src/org/traccar/protocol/MiniFinderProtocol.java
+++ b/src/org/traccar/protocol/MiniFinderProtocol.java
@@ -18,6 +18,7 @@ package org.traccar.protocol;
import org.jboss.netty.bootstrap.ServerBootstrap;
import org.jboss.netty.channel.ChannelPipeline;
import org.jboss.netty.handler.codec.string.StringDecoder;
+import org.jboss.netty.handler.codec.string.StringEncoder;
import org.traccar.BaseProtocol;
import org.traccar.CharacterDelimiterFrameDecoder;
import org.traccar.TrackerServer;
@@ -38,6 +39,7 @@ public class MiniFinderProtocol extends BaseProtocol {
pipeline.addLast("frameDecoder", new CharacterDelimiterFrameDecoder(1024, ';'));
pipeline.addLast("stringDecoder", new StringDecoder());
pipeline.addLast("objectDecoder", new MiniFinderProtocolDecoder(MiniFinderProtocol.this));
+ pipeline.addLast("stringEncoder", new StringEncoder());
}
});
}