济菏高速数据中心代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

21 lines
731 B

package com.zc.websocket.constant;
import com.zc.websocket.bo.ChannelProperty;
import com.zc.websocket.bo.ChannelPropertyCommon;
import io.netty.util.AttributeKey;
/**
* Channel对应的属性key值定义
* @author Athena-xiepufeng
*/
public class AttributeKeyConst
{
public static final String CHANNEL_PROPERTY_KEY_NAME = "channel.property.key";
public static final String CHANNEL_PROPERTY_COMMON_KEY_NAME = "channel.property.common.key";
public static final AttributeKey<ChannelProperty> CHANNEL_PROPERTY_KEY = AttributeKey.valueOf(CHANNEL_PROPERTY_KEY_NAME);
public static final AttributeKey<ChannelPropertyCommon> CHANNEL_PROPERTY_COMMON_KEY = AttributeKey.valueOf(CHANNEL_PROPERTY_COMMON_KEY_NAME);
}