aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-03-18 07:57:19 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-03-18 07:57:19 +1300
commit78a6e97e902c80116f6f6456efa0f4702163b661 (patch)
treee05caa7d3327eb6a7b6e8036a11b6aa62b8d7c54
parent0631d21876e8cd76210b7cceaedb5b2bd5a933b9 (diff)
downloadtraccar-server-78a6e97e902c80116f6f6456efa0f4702163b661.tar.gz
traccar-server-78a6e97e902c80116f6f6456efa0f4702163b661.tar.bz2
traccar-server-78a6e97e902c80116f6f6456efa0f4702163b661.zip
Reorder minifinder pipeline handlers
-rw-r--r--src/org/traccar/protocol/MiniFinderProtocol.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/protocol/MiniFinderProtocol.java b/src/org/traccar/protocol/MiniFinderProtocol.java
index 5557124e7..9208af0e2 100644
--- a/src/org/traccar/protocol/MiniFinderProtocol.java
+++ b/src/org/traccar/protocol/MiniFinderProtocol.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2015 Anton Tananaev (anton.tananaev@gmail.com)
+ * Copyright 2015 - 2016 Anton Tananaev (anton.tananaev@gmail.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -39,10 +39,10 @@ public class MiniFinderProtocol extends BaseProtocol {
@Override
protected void addSpecificHandlers(ChannelPipeline pipeline) {
pipeline.addLast("frameDecoder", new CharacterDelimiterFrameDecoder(1024, ';'));
- pipeline.addLast("stringDecoder", new StringDecoder());
- pipeline.addLast("objectDecoder", new MiniFinderProtocolDecoder(MiniFinderProtocol.this));
pipeline.addLast("stringEncoder", new StringEncoder());
+ pipeline.addLast("stringDecoder", new StringDecoder());
pipeline.addLast("objectEncoder", new MiniFinderProtocolEncoder());
+ pipeline.addLast("objectDecoder", new MiniFinderProtocolDecoder(MiniFinderProtocol.this));
}
});
}