org.apache.mina.filter.codec
Class AbstractProtocolDecoderOutput
java.lang.Object
org.apache.mina.filter.codec.AbstractProtocolDecoderOutput
- All Implemented Interfaces:
- ProtocolDecoderOutput
public abstract class AbstractProtocolDecoderOutput
- extends Object
- implements ProtocolDecoderOutput
A ProtocolDecoderOutput
based on queue.
- Version:
- $Rev: 591933 $, $Date: 2007-11-05 10:36:01 +0100 (Mon, 05 Nov 2007) $
- Author:
- The Apache MINA Project (dev@mina.apache.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractProtocolDecoderOutput
public AbstractProtocolDecoderOutput()
getMessageQueue
public Queue<Object> getMessageQueue()
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
Copyright © 2004-2009 Apache MINA Project. All Rights Reserved.