Class TcpLineDecoder
- java.lang.Object
- 
- org.apache.mina.filter.codec.ProtocolDecoderAdapter
- 
- org.apache.mina.filter.codec.CumulativeProtocolDecoder
- 
- org.opennms.netmgt.provision.support.codec.TcpLineDecoder
 
 
 
- 
- All Implemented Interfaces:
- org.apache.mina.filter.codec.ProtocolDecoder
 
 public class TcpLineDecoder extends org.apache.mina.filter.codec.CumulativeProtocolDecoderTcpLineDecoder class. - Version:
- $Id: $
- Author:
- ranger
 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringNO_MESSAGES_RECEIVED
 - 
Constructor SummaryConstructors Constructor Description TcpLineDecoder(java.nio.charset.Charset charset)Constructor for TcpLineDecoder.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleandoDecode(org.apache.mina.core.session.IoSession session, org.apache.mina.core.buffer.IoBuffer in, org.apache.mina.filter.codec.ProtocolDecoderOutput out)voidfinishDecode(org.apache.mina.core.session.IoSession session, org.apache.mina.filter.codec.ProtocolDecoderOutput out)java.nio.charset.CharsetgetCharset()getCharsetprotected java.lang.ObjectparseCommand(org.apache.mina.core.buffer.IoBuffer in)parseCommand
 
- 
- 
- 
Field Detail- 
NO_MESSAGES_RECEIVEDpublic static final java.lang.String NO_MESSAGES_RECEIVED - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
doDecodeprotected boolean doDecode(org.apache.mina.core.session.IoSession session, org.apache.mina.core.buffer.IoBuffer in, org.apache.mina.filter.codec.ProtocolDecoderOutput out) throws java.lang.Exception- Specified by:
- doDecodein class- org.apache.mina.filter.codec.CumulativeProtocolDecoder
- Throws:
- java.lang.Exception
 
 - 
parseCommandprotected java.lang.Object parseCommand(org.apache.mina.core.buffer.IoBuffer in) parseCommand - Parameters:
- in- a- IoBufferobject.
- Returns:
- a Objectobject.
 
 - 
getCharsetpublic java.nio.charset.Charset getCharset() getCharset - Returns:
- a Charsetobject.
 
 - 
finishDecodepublic void finishDecode(org.apache.mina.core.session.IoSession session, org.apache.mina.filter.codec.ProtocolDecoderOutput out)- Specified by:
- finishDecodein interface- org.apache.mina.filter.codec.ProtocolDecoder
- Overrides:
- finishDecodein class- org.apache.mina.filter.codec.ProtocolDecoderAdapter
 
 
- 
 
-