public interface Deframer
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this deframer and frees any resources.
|
void |
deframe(io.netty.buffer.ByteBuf data)
Adds the given data to this deframer and attempts delivery to the listener.
|
void |
request(int numMessages)
Requests up to the given number of messages from the call.
|
void deframe(io.netty.buffer.ByteBuf data)
data - the raw data read from the remote endpoint. Must be non-null.void request(int numMessages)
If close() has been called, this method will have no effect.
numMessages - the requested number of messages to be delivered to the listener.void close()
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.