/*
 * Copyright (c) 2015. Ncomz. All Rights Reserved
 */

package com.ntels.onecable.admin.common.broadcast;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

/**
 * <pre>
 * 1. ClassName :   DefaultLocalBroadCast
 * 2. FileName  :   DefaultLocalBroadCast.java
 * 3. Package   :   com.ntels.onecable.admin.common.gcm.support
 * 4. Date      :   2016-12-05
 * 5. Author    :   aaron
 * 6. Comment   :   Initialize
 * </pre>
 */
public class DefaultLocalBroadCast extends BroadcastReceiver {

  /**
   * 기본 로컬 브로드캐스드 액션 명
   */
//  public final static String INTENT_ACTION = "Kneet.LocalBoradCast";

  /** Push 로컬 브로드캐스트 액션 명 */
  public final static String INTENT_ACTION = "Kneet.LocalBoradCast.App";

  /**
   * <pre>
   * 인텐트 상태값 이름
   * <ol>int 값용</ol>
   * </pre>
   */
  public final static String INTENT_NAME_TYPE = "INTENT_NAME_TYPE";

  /**
   * 인텐트 결과 코드
   */
  public final static String INTENT_NAME_RESULT_CODE = "INTENT_NAME_RESULT_CODE";

  /**
   * 인텐트 String 메시지 이름
   */
  public final static String INTENT_NAME_MESSAGE = "INTENT_NAME_MESSAGE";

  /** 중복 로그인 여부 */
  public final static String INTENT_DUPLICATE_LOGIN = "INTENT_DUPLICATE_LOGIN";

  /** App강제 종료 */
  public final static String INTENT_ACTION_APP_EXIT = "INTENT_ACTION_APP_EXIT";

  /** 홈허브 상태 변경 */
  public final static String INTENT_ACTION_HOMEHUB_STATE_CHANGE = "INTENT_ACTION_HOMEHUB_STATE_CHANGE";

  /** 웹소켓 응답  */
  public final static String INTENT_ACTION_WEBSOCKET_MSG_RECEIVED = "INTENT_ACTION_WEBSOCKET_MSG_RECEIVED";

  /** 미지정 메시지 상태값 */
  public final static int INTENT_MSG_STATUS_NULL = -1;

  /** 미지정 메시지 타입 */
  public final static String INTENT_UNKOWN_MSG_TYPE = "INTENT_UNKOWN_MSG_TYPE";
  @Override
  public void onReceive(Context context, Intent intent) {

  }

  public void onMessage(String msg) {

  }

}
