mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-05-19 05:26:41 +00:00
perf[protocol]: 优化缓存注解
This commit is contained in:
@@ -37,4 +37,11 @@ public interface IPacket {
|
||||
return ProtocolManager.protocolId(this.getClass());
|
||||
}
|
||||
|
||||
/**
|
||||
* 协议是否需要验证session中的uid只对网关服有效
|
||||
* @return true 需要验证
|
||||
*/
|
||||
default boolean verificationUid() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user