aboutsummaryrefslogtreecommitdiff
path: root/src/net/sourceforge/opentracking/Server.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2011-11-09 12:07:58 +0000
committerAnton Tananaev <anton.tananaev@gmail.com>2011-11-09 12:07:58 +0000
commit139177767ab256033a5c3b71ea84b92c1dcbe504 (patch)
tree0294e0a962329d0bdc5b95da7dd6ffa514906322 /src/net/sourceforge/opentracking/Server.java
parentcc1f8e376ddbc7a5db0256e3ae7697774fa76dbd (diff)
downloadtrackermap-server-139177767ab256033a5c3b71ea84b92c1dcbe504.tar.gz
trackermap-server-139177767ab256033a5c3b71ea84b92c1dcbe504.tar.bz2
trackermap-server-139177767ab256033a5c3b71ea84b92c1dcbe504.zip
Diffstat (limited to 'src/net/sourceforge/opentracking/Server.java')
-rw-r--r--src/net/sourceforge/opentracking/Server.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/sourceforge/opentracking/Server.java b/src/net/sourceforge/opentracking/Server.java
index b0fb8d96a..66d0ba3d9 100644
--- a/src/net/sourceforge/opentracking/Server.java
+++ b/src/net/sourceforge/opentracking/Server.java
@@ -93,6 +93,7 @@ public class Server implements DataManager {
initGps103Server(properties);
initTk103Server(properties);
initGl200Server(properties);
+ initT55Server(properties);
}
/**
@@ -470,7 +471,7 @@ public class Server implements DataManager {
if (serverCreator.isLoggerEnabled()) {
pipeline.addLast("logger", new LoggingHandler("logger"));
}
- byte delimiter[] = { (byte) '\r' };
+ byte delimiter[] = { (byte) '\r', (byte) '\n' };
pipeline.addLast("frameDecoder",
new DelimiterBasedFrameDecoder(1024, ChannelBuffers.wrappedBuffer(delimiter)));
pipeline.addLast("stringDecoder", new StringDecoder());