All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gateway.connector.utils.Consts Maven / Gradle / Ivy

package com.gateway.connector.utils;

import io.netty.util.AttributeKey;

public class Consts {
	   public static int HeartInterval = 10;
       public static int WaitTime = 30*1000;
        
       
       /**
        * 默认启动端口,包括不配置或者随机,都从此端口开始计算
        */
       public static final int DEFAULT_SERVER_PORT = 22000;

       public static final int NOTIFY_SUCCESS = 1;
       public static final int NOTIFY_FAILURE = 0;
       public static final int NOTIFY_NO_SESSION = 2;

       public static final AttributeKey SERVER_SESSION_HOOK = AttributeKey.valueOf("SERVER_SESSION_HOOK");

      
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy