com.aspire.nm.component.cmppserver.filter.coder
类 CmppProtocolDecoder

java.lang.Object
  继承者 org.apache.mina.filter.codec.ProtocolDecoderAdapter
      继承者 org.apache.mina.filter.codec.CumulativeProtocolDecoder
          继承者 com.aspire.nm.component.cmppserver.filter.coder.CmppProtocolDecoder
所有已实现的接口:
org.apache.mina.filter.codec.ProtocolDecoder

@Service
public class CmppProtocolDecoder
extends org.apache.mina.filter.codec.CumulativeProtocolDecoder


构造方法摘要
CmppProtocolDecoder()
           
 
方法摘要
protected  boolean doDecode(org.apache.mina.core.session.IoSession session, org.apache.mina.core.buffer.IoBuffer in, org.apache.mina.filter.codec.ProtocolDecoderOutput out)
          返回false没有任何处理,不进filter和handler 抛出异常filter和handler中的exceptionCaught都会捕获
 
从类 org.apache.mina.filter.codec.CumulativeProtocolDecoder 继承的方法
decode, dispose
 
从类 org.apache.mina.filter.codec.ProtocolDecoderAdapter 继承的方法
finishDecode
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

CmppProtocolDecoder

public CmppProtocolDecoder()
方法详细信息

doDecode

protected boolean doDecode(org.apache.mina.core.session.IoSession session,
                           org.apache.mina.core.buffer.IoBuffer in,
                           org.apache.mina.filter.codec.ProtocolDecoderOutput out)
                    throws PacketException
返回false没有任何处理,不进filter和handler 抛出异常filter和handler中的exceptionCaught都会捕获

指定者:
org.apache.mina.filter.codec.CumulativeProtocolDecoder 中的 doDecode
抛出:
PacketException


Copyright © 2016. All rights reserved.