org.apache.mina.filter.codec

Interface ProtocolDecoderOutput

Known Implementing Classes:
SimpleProtocolDecoderOutput

public interface ProtocolDecoderOutput

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

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 Details

flush

public void flush()

write

public 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