From beb0f17cfc59835979f92de15b3711b74db151a8 Mon Sep 17 00:00:00 2001 From: godotg Date: Mon, 18 Sep 2023 00:20:11 +0800 Subject: [PATCH] update --- .../com/zfoo/net/router/attachment/SignalAttachment.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/net/src/main/java/com/zfoo/net/router/attachment/SignalAttachment.java b/net/src/main/java/com/zfoo/net/router/attachment/SignalAttachment.java index 2dd83f4a..4e1aa6b8 100644 --- a/net/src/main/java/com/zfoo/net/router/attachment/SignalAttachment.java +++ b/net/src/main/java/com/zfoo/net/router/attachment/SignalAttachment.java @@ -14,6 +14,7 @@ package com.zfoo.net.router.attachment; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; +import com.zfoo.protocol.anno.Note; import com.zfoo.protocol.anno.Protocol; import com.zfoo.scheduler.util.TimeUtils; @@ -33,7 +34,7 @@ public class SignalAttachment { */ public static final AtomicInteger ATOMIC_ID = new AtomicInteger(0); /** - * 0 for the server, 1 for the sync or async native client, 2 for the outside client such as browser, mobile + * 0 for the server, 1 or 2 for the sync or async native client, 12 for the outside client such as browser, mobile */ public static final byte SIGNAL_SERVER = 0; public static final byte SIGNAL_NATIVE_ARGUMENT_CLIENT = 1; @@ -52,9 +53,7 @@ public class SignalAttachment { */ private int taskExecutorHash = -1; - /** - * 0 for the server, 1 for the sync or async native client, 2 for the outside client such as browser, mobile - */ + @Note("0 for the server, 1 or 2 for the sync or async native client, 12 for the outside client such as browser, mobile") private byte client = SIGNAL_NATIVE_ARGUMENT_CLIENT; /**