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 CHANNEL_PROPERTY_KEY = AttributeKey.valueOf(CHANNEL_PROPERTY_KEY_NAME); public static final AttributeKey CHANNEL_PROPERTY_COMMON_KEY = AttributeKey.valueOf(CHANNEL_PROPERTY_COMMON_KEY_NAME); }