| Modifier and Type | Class and Description |
|---|---|
static interface |
TriDecoder.Listener |
| Constructor and Description |
|---|
TriDecoder(DeCompressor decompressor,
TriDecoder.Listener listener) |
| 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.
|
public TriDecoder(DeCompressor decompressor, TriDecoder.Listener listener)
public void deframe(io.netty.buffer.ByteBuf data)
Deframerpublic void request(int numMessages)
DeframerIf Deframer.close() has been called, this method will have no effect.
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.