org.apache.mina.filter.codec
Interface ProtocolDecoderOutput

All Known Implementing Classes:
AbstractProtocolDecoderOutput

public interface ProtocolDecoderOutput

Callback for ProtocolDecoder to generate decoded messages. ProtocolDecoder must call write(Object) for each decoded messages.

Version:
$Rev: 576217 $, $Date: 2007-09-17 01:55:27 +0200 (Mon, 17 Sep 2007) $
Author:
The Apache MINA Project (dev@mina.apache.org)

Method Summary
 void flush()
          Flushes all messages you wrote via write(Object) to the next filter.
 void write(Object message)
          Callback for ProtocolDecoder to generate decoded messages.
 

Method Detail

write

void write(Object message)
Callback for ProtocolDecoder to generate decoded messages. ProtocolDecoder must call write(Object) for each decoded messages.

Parameters:
message - the decoded message

flush

void flush()
Flushes all messages you wrote via write(Object) to the next filter.



Copyright © 2004-2009 Apache MINA Project. All Rights Reserved.