package com.eactive.eai.batch.common;


/**
* 1. 기능 : 배치프레임웍에서 공통으로 사용하는 상수를 정의한 Interface
* 2. 처리 개요 :
*     -
* 3. 주의사항
*
* @author  : YCLee 06/01/24
* @version : v 1.0.0
* @since   :JDK v1.4.2
*/
public class CommonKeys
{
    /* *******************************************************************
     *  Master Layer 구분 상수
     ******************************************************************* */

    public static final String LAYER_USER_INTERFACE   = "UI";  //UI (요구송신재처리,요구수신강제등록)
    public static final String LAYER_FILE_EVENT       = "FE";  //File Event
    public static final String LAYER_SOCKET_SERVER    = "SS";  //Socket Server
    public static final String LAYER_SCHEDULER        = "SC";  //Scheduler
    public static final String LAYER_FLOW_CONTROLLER  = "FC";  //Flow Controller


    /* *******************************************************************
     *  Layer 구분 상수
     ******************************************************************* */
    public static final String SUB_LAYER_USER_INTERFACE       = "UI";  //UI (요구송신재처리,요구수신강제등록)
    public static final String SUB_LAYER_FILE_EVENT           = "FE";  //File Event
    public static final String SUB_LAYER_SOCKET_SERVER        = "SS";  //Socket Server
    public static final String SUB_LAYER_SCHEDULER_QUEUE      = "SQ";  //Scheduler Queue
    public static final String SUB_LAYER_SCHEDULER_PROCESSING = "SP";  //Scheduler Processing
    public static final String SUB_LAYER_FLOW_CONTROLLER      = "FC";  //Flow Controller

    public static final String SUB_LAYER_FLOW_PHASE_ST        = "ST";  //Flow Controller 개시                       [ST: Start            ]
    public static final String SUB_LAYER_FLOW_PHASE_FI        = "FI";  //Flow Controller 파일정보교환               [FI: File Info        ]
    public static final String SUB_LAYER_FLOW_PHASE_DS        = "DS";  //Flow Controller Data 송수신                [DS: Data Send        ]
    public static final String SUB_LAYER_FLOW_PHASE_MI        = "MI";  //Flow Controller 결번정보교환               [MI: Missing Data Info]
    public static final String SUB_LAYER_FLOW_PHASE_MS        = "MS";  //Flow Controller 결번 송수신                [MS: Missing Data Send]
    public static final String SUB_LAYER_FLOW_PHASE_UE        = "UE";  //Flow Controller 단위업무종료               [UE: Unit End         ]
    public static final String SUB_LAYER_FLOW_PHASE_AE        = "AE";  //Flow Controller 전업무종료                 [AE: All End          ]
    public static final String SUB_LAYER_FLOW_PHASE_EX        = "EX";  //Flow Controller 예외                       [EX: Exception        ]
    public static final String SUB_LAYER_FLOW_PHASE_LT        = "LT";  //Flow Controller 시스템회선상태확인(테스트) [LT: Line Test        ]
    public static final String SUB_LAYER_FLOW_PHASE_SE        = "SE";  //Flow Controller 시스템장애통보             [SE: System Error     ]
    public static final String SUB_LAYER_FLOW_PHASE_SR        = "SR";  //Flow Controller 시스템장애회복통보         [SR: System Recovery  ]
    public static final String SUB_LAYER_FLOW_PHASE_CK        = "CK";  //Flow Controller 요구송신 테스트전문

    /* *******************************************************************
     *  업무 유형 구분 상수
     ******************************************************************* */
    public static final String PROCESS_REQUEST_SEND     = "RS";  //요구송신
    public static final String PROCESS_REQUEST_RECEIVE  = "RR";  //요구수신
    public static final String PROCESS_RESPONSE_SEND    = "AS";  //응답송신
    public static final String PROCESS_RESPONSE_RECEIVE = "AR";  //응답수신

}
