|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput
public class SimpleProtocolDecoderOutput
A ProtocolDecoderOutput based on queue.
| Constructor Summary | |
|---|---|
SimpleProtocolDecoderOutput(IoSession session,
IoFilter.NextFilter nextFilter)
|
|
| Method Summary | |
|---|---|
void |
flush()
Flushes all messages you wrote via ProtocolDecoderOutput.write(Object) to
the next filter. |
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 |
| Constructor Detail |
|---|
public SimpleProtocolDecoderOutput(IoSession session,
IoFilter.NextFilter nextFilter)
| Method Detail |
|---|
public void write(java.lang.Object message)
ProtocolDecoderOutputProtocolDecoder to generate decoded messages.
ProtocolDecoder must call ProtocolDecoderOutput.write(Object) for each
decoded messages.
write in interface ProtocolDecoderOutputmessage - the decoded messagepublic void flush()
ProtocolDecoderOutputProtocolDecoderOutput.write(Object) to
the next filter.
flush in interface ProtocolDecoderOutput
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||