Merge pull request #280 from fjcyue/master

using reader idle to trigger the will message.
This commit is contained in:
Andrea Selva
2017-03-22 22:20:22 +01:00
committed by GitHub
4 changed files with 8 additions and 8 deletions
@@ -446,7 +446,7 @@ public class ProtocolProcessor {
if (pipeline.names().contains("idleStateHandler")) {
pipeline.remove("idleStateHandler");
}
pipeline.addFirst("idleStateHandler", new IdleStateHandler(0, 0, idleTime));
pipeline.addFirst("idleStateHandler", new IdleStateHandler(idleTime, 0, 0));
}
/**