hander 的执行顺序:
client 中pipeline 顺序:
//first,add codec
pipeline.addLast(new BigIntegferdecoder);
pipeline.addlast(new numberEncodeer);
pipeline.addLast(new FactoriesClientHander);
//first.codec
pipeline.addlast(new BigIntegerdecoder);
pipeLine.addLast(new NumberEncoder);
//then,bussiness logic
pipeline.addLast(new FactotersServerHander);