package com.bonait.bnframework.common.message;

/**
 * 消息中心测试Demo
 */
public class testmode {

    public void Senddata(String str)
    {
        //MessageManager.getInstance().sendMessage(MessageName.PullTheDishes.name(),str);
    }

    public void onCreate()
    {
//        MessageManager.getInstance().registerMessageReceiver((Activity) null, MessageName.PullTheDishes.name(), new MessageLooper.OnMessageListener() {
//            @Override
//            public void onMessage(Object msg) {
//                if (msg != null) {
//
//                }
//            }
//        });

    }
    public  void onDestroy()
    {
//        MessageName name= MessageName.valueOf("111");
//        MessageManager.getInstance().unRegisterMessageReceiver((Activity) null);
    }
}
