Apache MINA瀛︿範涔嬭矾(四)

Apache MINA瀛︿範涔嬭矾(4)// 娣诲姞杩囨护鍣?acceptor.getFilterChain().addLast(codec,new ProtocolCo

Apache MINA瀛︿範涔嬭矾(4)
// 娣诲姞杩囨护鍣?acceptor.getFilterChain().addLast("codec",new ProtocolCodecFilter(new MyCodecFactoryII(Charset.forName("utf-8"), "\r\n")));聽