org.littleshoot.mina.filter.codec.support
Class SimpleProtocolDecoderOutput
java.lang.Object
org.littleshoot.mina.filter.codec.support.SimpleProtocolDecoderOutput
- All Implemented Interfaces:
- ProtocolDecoderOutput
public class SimpleProtocolDecoderOutput
- extends Object
- implements ProtocolDecoderOutput
A ProtocolDecoderOutput based on queue.
- Version:
- $Rev: 560326 $, $Date: 2007-07-28 02:30:25 +0900 (Sat, 28 Jul 2007) $
- Author:
- The Apache Directory Project (mina-dev@directory.apache.org)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleProtocolDecoderOutput
public SimpleProtocolDecoderOutput(IoSession session,
IoFilter.NextFilter nextFilter)
write
public void write(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
flush
public void flush()
- Description copied from interface:
ProtocolDecoderOutput
- Flushes all messages you wrote via
ProtocolDecoderOutput.write(Object) to
the next filter.
- Specified by:
flush in interface ProtocolDecoderOutput
Copyright © 2011-2013 LittleShoot. All Rights Reserved.