1 20 package org.apache.mina.filter.codec; 21 22 import org.apache.mina.common.ByteBuffer; 23 import org.apache.mina.common.IoSession; 24 25 39 public interface ProtocolDecoder { 40 48 void decode(IoSession session, ByteBuffer in, ProtocolDecoderOutput out) 49 throws Exception ; 50 51 60 void finishDecode(IoSession session, ProtocolDecoderOutput out) 61 throws Exception ; 62 63 68 void dispose(IoSession session) throws Exception ; 69 } | Popular Tags |