public abstract class AbstractProtocolEncoderOutput extends Object implements ProtocolEncoderOutput
ProtocolEncoderOutput based on queue.| Modifier and Type | Field and Description |
|---|---|
protected Queue<Object> |
messageQueue
The queue where the decoded messages are stored
|
| Constructor and Description |
|---|
AbstractProtocolEncoderOutput()
Creates an instance of AbstractProtocolEncoderOutput
|
| Modifier and Type | Method and Description |
|---|---|
void |
write(Object message)
Callback for
ProtocolEncoder to generate an encoded message such as
an IoBuffer. |
public AbstractProtocolEncoderOutput()
public void write(Object message)
ProtocolEncoder to generate an encoded message such as
an IoBuffer. ProtocolEncoder must call ProtocolEncoderOutput.write(Object)
for each encoded message.write in interface ProtocolEncoderOutputmessage - the encoded message, typically an IoBuffer or a
FileRegion.Copyright © 2004–2024 Apache MINA Project. All rights reserved.