org.apache.mina.filter.codec
Class AbstractProtocolDecoderOutput

java.lang.Object
  extended by org.apache.mina.filter.codec.AbstractProtocolDecoderOutput
All Implemented Interfaces:
ProtocolDecoderOutput

public abstract class AbstractProtocolDecoderOutput
extends java.lang.Object
implements ProtocolDecoderOutput

A ProtocolDecoderOutput based on queue.

Author:
Apache MINA Project

Constructor Summary
AbstractProtocolDecoderOutput()
           
 
Method Summary
 java.util.Queue<java.lang.Object> getMessageQueue()
           
 void write(java.lang.Object message)
          Callback for ProtocolDecoder to generate decoded messages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.mina.filter.codec.ProtocolDecoderOutput
flush
 

Constructor Detail

AbstractProtocolDecoderOutput

public AbstractProtocolDecoderOutput()
Method Detail

getMessageQueue

public java.util.Queue<java.lang.Object> getMessageQueue()

write

public void write(java.lang.Object message)
Description copied from interface: ProtocolDecoderOutput
Callback for ProtocolDecoder to generate decoded messages. ProtocolDecoder must call ProtocolDecoderOutput.write(Object) for each decoded messages.

Specified by:
write in interface ProtocolDecoderOutput
Parameters:
message - the decoded message