From e2c28bc98587c6edd6a38f06b972ff51d998028f Mon Sep 17 00:00:00 2001 From: wuzeyu <1223318623@qq.com> Date: 星期三, 27 十一月 2024 08:52:05 +0800 Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV --- pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/PrefixedDataAvailable.java | 19 +++++++++++-------- 1 files changed, 11 insertions(+), 8 deletions(-) diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/PrefixedDataAvailable.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/PrefixedDataAvailable.java index f55f9ae..1058dc3 100644 --- a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/PrefixedDataAvailable.java +++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/protocol/PrefixedDataAvailable.java @@ -3,6 +3,7 @@ import org.apache.mina.core.buffer.IoBuffer; import com.dy.common.mw.channel.tcp.PrefixedDataAvailableStatus; +import org.apache.mina.core.session.IoSession; public interface PrefixedDataAvailable { @@ -15,10 +16,11 @@ * @return 涓嶆椂鏈崗璁暟鎹椂杩斿洖绌� * @throws Exception 寮傚父 */ - PrefixedDataAvailableStatus forOnLine(IoBuffer in, - int remain, - int minDataLength, - int maxDataLength) throws Exception ; + PrefixedDataAvailableStatus forOnLine(IoSession ioSession, + IoBuffer in, + int remain, + int minDataLength, + int maxDataLength) throws Exception ; /** * 鍒嗘瀽涓婄嚎鍚�(缃戠粶杩炴帴鍚庨潪绗竴鍖呮暟鎹�)鏄惁鍙幏寰� @@ -29,9 +31,10 @@ * @return PrefixedDataAvailableStatus * @throws Exception 寮傚父 */ - PrefixedDataAvailableStatus forUpData(IoBuffer in, - int remain, - int minDataLength, - int maxDataLength) throws Exception; + PrefixedDataAvailableStatus forUpData(IoSession ioSession, + IoBuffer in, + int remain, + int minDataLength, + int maxDataLength) throws Exception; } -- Gitblit v1.8.0