From afdc9e7207abaf9c922050058b84da7b2f5fb6d1 Mon Sep 17 00:00:00 2001 From: Redkale <8730487+redkale@users.noreply.github.com> Date: Wed, 18 Dec 2019 23:00:23 +0800 Subject: [PATCH] --- src/org/redkale/net/sncp/SncpResponse.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/org/redkale/net/sncp/SncpResponse.java b/src/org/redkale/net/sncp/SncpResponse.java index 9fe7d46c5..f43f45959 100644 --- a/src/org/redkale/net/sncp/SncpResponse.java +++ b/src/org/redkale/net/sncp/SncpResponse.java @@ -21,13 +21,13 @@ import org.redkale.util.*; */ public final class SncpResponse extends Response { - public static final int RETCODE_ILLSERVICEID = (1 << 10); //无效serviceid + public static final int RETCODE_ILLSERVICEID = (1 << 1); //无效serviceid - public static final int RETCODE_ILLSERVICEVER = (1 << 11); //无效serviceversion + public static final int RETCODE_ILLSERVICEVER = (1 << 2); //无效serviceversion - public static final int RETCODE_ILLACTIONID = (1 << 15); //无效actionid + public static final int RETCODE_ILLACTIONID = (1 << 3); //无效actionid - public static final int RETCODE_THROWEXCEPTION = (1 << 30); //内部异常 + public static final int RETCODE_THROWEXCEPTION = (1 << 4); //内部异常 public static ObjectPool createPool(AtomicLong creatCounter, AtomicLong cycleCounter, int max, Creator creator) { return new ObjectPool<>(creatCounter, cycleCounter, max, creator, (x) -> ((SncpResponse) x).prepare(), (x) -> ((SncpResponse) x).recycle());