liurunyu
2024-11-18 e586b5c608bd8b8c75d254e9d2b1f432ce1e3169
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.dy.common.mw.channel.tcp;
 
import org.apache.mina.core.buffer.IoBuffer;
 
public interface PrefixedDataAvailableHandle {
 
    /**
     * 预处理上线数据
     * @param in IoBuffer
     * @return 状态
     */
    PrefixedDataAvailableStatus forOnLine(IoBuffer in) ;
    
    /**
     * 预处理上行数据
     * @param in IoBuffer
     * @return 状态
     */
    PrefixedDataAvailableStatus forUpData(IoBuffer in) ;
    
}