2026-04-17 17:12:41 +08:00
|
|
|
package com.maibu.common;
|
2026-04-17 10:42:16 +08:00
|
|
|
|
2026-04-30 15:25:58 +08:00
|
|
|
import com.maibu.core.enums.ConnectionCloseReason;
|
2026-04-17 10:42:16 +08:00
|
|
|
import io.netty.util.AttributeKey;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
|
|
@Data
|
|
|
|
|
public class Constant {
|
|
|
|
|
|
|
|
|
|
public static final AttributeKey<String> ATT_DEVICE_ID = AttributeKey.valueOf("deviceId");
|
|
|
|
|
|
2026-04-30 15:25:58 +08:00
|
|
|
public static final AttributeKey<ConnectionCloseReason> ATT_CLOSE_REASON = AttributeKey.valueOf("closeReason");
|
|
|
|
|
|
|
|
|
|
public static final AttributeKey<String> ATT_ORG_ID = AttributeKey.valueOf("orgId");
|
|
|
|
|
|
|
|
|
|
public static final AttributeKey<String> ATT_SITE_ID = AttributeKey.valueOf("siteId");
|
2026-04-17 10:42:16 +08:00
|
|
|
}
|