|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ProtocolViolationException | |
|---|---|
| org.apache.mina.examples.reverser | Reverser server which reverses all text lines demonstating high-level protocol layer. |
| org.apache.mina.examples.sumup.codec | |
| 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.examples.reverser |
|---|
| Methods in org.apache.mina.examples.reverser that throw ProtocolViolationException | |
|---|---|
void |
TextLineDecoder.decode(ProtocolSession session,
ByteBuffer in,
ProtocolDecoderOutput out)
|
void |
TextLineEncoder.encode(ProtocolSession session,
Object message,
ProtocolEncoderOutput out)
|
| Uses of ProtocolViolationException in org.apache.mina.examples.sumup.codec |
|---|
| Methods in org.apache.mina.examples.sumup.codec that throw ProtocolViolationException | |
|---|---|
MessageDecoderResult |
AbstractMessageDecoder.decode(ProtocolSession session,
ByteBuffer in,
ProtocolDecoderOutput out)
|
void |
AbstractMessageEncoder.encode(ProtocolSession session,
Object message,
ProtocolEncoderOutput out)
|
| 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 | |
|---|---|
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). |
MessageDecoderResult |
MessageDecoder.decode(ProtocolSession session,
ByteBuffer in,
ProtocolDecoderOutput out)
Decodes binary or protocol-specific content into higher-level message objects. |
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 | |||||||||