Class AbstractProtocolDecoderOutput
java.lang.Object
org.apache.mina.filter.codec.AbstractProtocolDecoderOutput
- All Implemented Interfaces:
ProtocolDecoderOutput
- Direct Known Subclasses:
ProtocolCodecFilter.ProtocolDecoderOutputImpl
A
ProtocolDecoderOutput based on queue.-
Field Summary
FieldsModifier and TypeFieldDescriptionThe queue where decoded messages are stored -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of a AbstractProtocolDecoderOutput -
Method Summary
Modifier and TypeMethodDescriptionvoidCallback forProtocolDecoderto generate decoded messages.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ProtocolDecoderOutput
flush
-
Field Details
-
messageQueue
-
-
Constructor Details
-
AbstractProtocolDecoderOutput
public AbstractProtocolDecoderOutput()Creates a new instance of a AbstractProtocolDecoderOutput
-
-
Method Details
-
getMessageQueue
-
write
Callback forProtocolDecoderto generate decoded messages.ProtocolDecodermust callProtocolDecoderOutput.write(Object)for each decoded messages.- Specified by:
writein interfaceProtocolDecoderOutput- Parameters:
message- the decoded message
-