public class TcpLineDecoder
extends org.apache.mina.filter.codec.CumulativeProtocolDecoder
TcpLineDecoder class.
| Modifier and Type | Field and Description |
|---|---|
static String |
NO_MESSAGES_RECEIVED |
| Constructor and Description |
|---|
TcpLineDecoder(Charset charset)
Constructor for TcpLineDecoder.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doDecode(org.apache.mina.core.session.IoSession session,
org.apache.mina.core.buffer.IoBuffer in,
org.apache.mina.filter.codec.ProtocolDecoderOutput out) |
void |
finishDecode(org.apache.mina.core.session.IoSession session,
org.apache.mina.filter.codec.ProtocolDecoderOutput out) |
Charset |
getCharset()
getCharset
|
protected Object |
parseCommand(org.apache.mina.core.buffer.IoBuffer in)
parseCommand
|
public static final String NO_MESSAGES_RECEIVED
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 Exception
doDecode in class org.apache.mina.filter.codec.CumulativeProtocolDecoderExceptionprotected Object parseCommand(org.apache.mina.core.buffer.IoBuffer in)
parseCommand
in - a IoBuffer object.Object object.public void finishDecode(org.apache.mina.core.session.IoSession session,
org.apache.mina.filter.codec.ProtocolDecoderOutput out)
finishDecode in interface org.apache.mina.filter.codec.ProtocolDecoderfinishDecode in class org.apache.mina.filter.codec.ProtocolDecoderAdapterCopyright © 2022. All rights reserved.