NetConnection通信结构(基于对极客学院的代码的改进,直接使用对象进行通信)
结构说明:
DoFunction(功能通信调用方法)
传入参数:postVo(Object)
成功传出:resultVo(Object)
失败传出:error(String)
作用:处理postVo,传入postVo,传出resultVo
铺助方法:
prepareData(Object postVo)//准备传入对象
hanldeData(Object resultVo)
原创
2015-01-02 15:30:26 ·
508 阅读 ·
0 评论