refact api
Merge branch 'master' of https://github.com/xiebiao/jnet