/*
 *
 *  Copyright (c) 2013 Cangol
 *   <p/>
 *   Licensed under the Apache License, Version 2.0 (the "License")
 *   you may not use this file except in compliance with the License.
 *   You may obtain a copy of the License at
 *  <p/>
 *  http://www.apache.org/licenses/LICENSE-2.0
 *  <p/>
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

package mobi.cangol.mobile.service.event;

import mobi.cangol.mobile.service.AppService;

/**
 * Created by xuewu.wei on 2016/8/3.
 */
public interface ObserverManager extends AppService {

    void register(Object subscriber);

    void unregister(Object subscriber);

    void post(String event, Object data);

}

@@ -811,88 +811,274 @@
 e %7B%0A
-%0A    void register(Object subscriber);%0A%0A    void unregister(Object subscriber);%0A
+    /**%0A     * %E6%B3%A8%E5%86%8C%E8%AE%A2%E9%98%85%E8%80%85%0A     * @param subscriber%0A     */%0A    void register(Object subscriber);%0A%0A    /**%0A     * %E8%A7%A3%E9%99%A4%E8%AE%A2%E9%98%85%E8%80%85%0A     * @param subscriber%0A     */%0A    void unregister(Object subscriber);%0A%0A    /**%0A     * %E8%A7%A6%E5%8F%91%E4%B8%80%E4%B8%AA%E4%BA%8B%E4%BB%B6%0A     * @param event %E4%BA%8B%E4%BB%B6%E5%90%8D%E7%A7%B0%0A     * @param data %E4%BA%8B%E4%BB%B6%E6%95%B0%E6%8D%AE%0A     */
 %0A   

add note