public interface CodecEmbedder<T>
EncoderEmbedder
and DecoderEmbedder
for more information.Modifier and Type | Method and Description |
---|---|
boolean |
finish()
Signals the pipeline that the encoding or decoding has been finished and
no more data will be offered.
|
boolean |
offer(Object input)
Offers an input object to the pipeline of this embedder.
|
T |
peek()
Reads an encoded or decoded output from the head of the product queue.
|
T |
poll()
Consumes an encoded or decoded output from the product queue.
|
boolean offer(Object input)
boolean finish()
T poll()
null
if and only if there is no output object left in the
product queue.Copyright © 2008–2014 JBoss, by Red Hat. All rights reserved.