package com.nabsys.net.protocol.IPC;

public class IPC {
	public static final int SET_SO_TIMEOUT 			= 1000; //1ÃÊ
	public static final int CLOSE_SIGNAL 			= 0;

	public static final int BODY_TAG_LENGTH			= Integer.SIZE/Byte.SIZE;
	public static final int BODY_LEN_LENGTH			= Integer.SIZE/Byte.SIZE;
	
	public static final int CMD_ALIVE	 			= 0x0000;
	public static final int CMD_GENERAL 			= 0x0001;
	public static final int CMD_BIND_REQ 			= 0x0002;  //BIND ¿äÃ»
	public static final int CMD_BIND	 			= 0x0003;  //BIND Ã³¸® ¿äÃ»
	public static final int CMD_BIND_RES 			= 0x0004;  //BIND °á°ú
	public static final int CMD_IPC		 			= 0x0005;  //IPC ¿¬°á
	public static final int CMD_RPT_ALV	 			= 0x0006;  //»óÅÂÁ¤º¸º¸°í
	public static final int CMD_SHUTDOWN 			= 0x0007;  //Á¾·á
	public static final int CMD_REFRESH	 			= 0x0008;  //¼³Á¤ ¸®·Îµå
	public static final int CMD_SQL_UPDATE			= 0x0009;  //SQL ¾÷µ¥ÀÌÆ®
	public static final int CMD_TLGM_UPDATE			= 0x000A;  //Àü¹® ¾÷µ¥ÀÌÆ®
	public static final int CMD_COMP_UPDATE			= 0x000B;  //ÄÄÆ÷³ÍÆ® ¾÷µ¥ÀÌÆ®
	public static final int CMD_TRX_UPDATE			= 0x000C;  //Æ®·£Àè¼Ç ¾÷µ¥ÀÌÆ®
	public static final int CMD_SVC_UPDATE			= 0x000D;  //¼­ºñ½º ¾÷µ¥ÀÌÆ®
	public static final int CMD_USR_UPDATE			= 0x000E;  //»ç¿ëÀÚ ¾÷µ¥ÀÌÆ®
	public static final int CMD_EXEC_SQL			= 0x000F;  //SQL ½ÇÇà
	public static final int CMD_EXEC_SVC			= 0x0010;  //¼­ºñ½º ½ÇÇà
	
	//¼º°ø½ÇÆÐ
	public static final int SUCCESS	 				= 0x0000;
	public static final int FAIL		 			= 0x0001;
	public static final int BIND_FAIL	 			= 0x0002;

	public static final String NB_MSG_LENGTH		= "NB_MSG_LENGTH";
	public static final String NB_MSG_DPT_ID		= "NB_MSG_DPT_ID";
	public static final String NB_MSG_SVC_ID		= "NB_MSG_SVC_ID";
	public static final String NB_MSG_TYPE			= "NB_MSG_TYPE";
	public static final String NB_MSG_RETURN		= "NB_MSG_RETURN";

	
	public static final int RESERVED_FIELDS			= 0x0050;
	
	//¿¹¾àÇÊµå
	public static final String NB_BIND_ID			= "NB_BIND_ID";
	public static final String NB_BIND_PW			= "NB_BIND_PW";
	public static final String NB_BIND_AUTH			= "NB_BIND_AUTH";
	public static final String NB_LOAD_CLASS		= "NB_LOAD_CLASS";
	public static final String NB_INVOKE_METHOD		= "NB_INVOKE_METHOD";
	public static final String NB_INSTANCE_NM		= "NB_INSTANCE_NM";
	public static final String NB_MGR_SQNC			= "NB_MGR_SQNC";
	public static final String NB_INSTNCE_ID		= "NB_INSTNCE_ID";
	
	public static final int FIELDS_INFO				= 0x0001;
}
