liurunyu
2024-11-12 a3c8c9c0ab3d680bf9f4ee2add2593fd2108441f
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) ;
    
}