|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ProtocolViolationException | |
---|---|
org.apache.mina.protocol | High-level protocol implementation layer (Protocol layer). |
org.apache.mina.protocol.codec | Useful ProtocolEncoder and ProtocolDecoder implementations. |
Uses of ProtocolViolationException in org.apache.mina.protocol |
---|
Methods in org.apache.mina.protocol that throw ProtocolViolationException | |
---|---|
void |
ProtocolDecoder.decode(ProtocolSession session,
ByteBuffer in,
ProtocolDecoderOutput out)
Decodes binary or protocol-specific content into higher-level message objects. |
void |
ProtocolEncoder.encode(ProtocolSession session,
Object message,
ProtocolEncoderOutput out)
Encodes higher-level message objects into binary or protocol-specific data. |
Uses of ProtocolViolationException in org.apache.mina.protocol.codec |
---|
Methods in org.apache.mina.protocol.codec that throw ProtocolViolationException | |
---|---|
MessageDecoderResult |
MessageDecoder.decode(ProtocolSession session,
ByteBuffer in,
ProtocolDecoderOutput out)
Decodes binary or protocol-specific content into higher-level message objects. |
void |
CumulativeProtocolDecoder.decode(ProtocolSession session,
ByteBuffer in,
ProtocolDecoderOutput out)
Cumulates content of in into internal buffer and forwards decoding request to CumulativeProtocolDecoder.doDecode(ProtocolSession, ByteBuffer, ProtocolDecoderOutput) . |
protected abstract boolean |
CumulativeProtocolDecoder.doDecode(ProtocolSession session,
ByteBuffer in,
ProtocolDecoderOutput out)
Implement this method to consume the specified cumulative buffer and decode its content into message(s). |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |