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) ; 
 |       
 |  } 
 |  
  |