首页>代码>【转】gson-wechat-微信公众平台开发模式(JAVA) SDKmaster>/wechat/src/com/gson/MessageProcessingHandlerImpl.java
/**
 * 微信公众平台开发模式(JAVA) SDK
 * (c) 2012-2013 ____′↘夏悸 <wmails@126.cn>, MIT Licensed
 * http://www.jeasyuicn.com/wechat
 */
package com.gson;

import com.gson.bean.InMessage;
import com.gson.bean.OutMessage;
import com.gson.bean.TextOutMessage;
import com.gson.inf.MessageProcessingHandler;

/**
 * 自定义实现消息处理
 * @author GodSon
 *
 */
public class MessageProcessingHandlerImpl implements MessageProcessingHandler {

	@Override
	public OutMessage textTypeMsg(InMessage msg) {
		TextOutMessage oms = new TextOutMessage();
		oms.setContent(msg.getContent());
		return oms;
	}

	@Override
	public OutMessage locationTypeMsg(InMessage msg) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public OutMessage imageTypeMsg(InMessage msg) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public OutMessage linkTypeMsg(InMessage msg) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public OutMessage eventTypeMsg(InMessage msg) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public OutMessage voiceTypeMsg(InMessage msg) {
		// TODO Auto-generated method stub
		return null;
	}

}
最近下载更多
xiaoquan070  LV2 2022年4月17日
miwa12  LV1 2020年6月17日
kenhomeliu  LV29 2019年12月27日
lyd19931203  LV21 2019年11月21日
lxf8976567  LV1 2019年3月28日
AdinMei  LV1 2018年4月1日
wangtshg  LV2 2017年10月31日
dick001  LV1 2017年8月23日
小宝儿  LV11 2017年3月23日
vsguji  LV1 2016年12月29日
最近浏览更多
denliv_hui  LV13 3月31日
asdasdasdbishop  LV1 2022年5月22日
xiaoquan070  LV2 2022年4月17日
chenchen479  LV6 2022年4月12日
wu0125  LV4 2021年4月26日
13043860zj  LV16 2021年2月24日
930384782  LV9 2020年12月14日
久久学编程 2020年11月3日
暂无贡献等级
Justice_Eternal  LV14 2020年10月20日
吴小英  LV2 2020年9月27日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友