public class Packetizer extends AbstractPacketizer
inputFormat, inputFormats, opened, outputFormat
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED
Constructor and Description |
---|
Packetizer() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected int |
doBuildPacketHeader(Buffer inputBuffer,
byte[] packetBuffer) |
java.lang.String |
getName() |
Format[] |
getSupportedOutputFormats(Format input) |
void |
open() |
int |
process(Buffer input,
Buffer output) |
Format |
setInputFormat(Format format) |
setDoNotSpanInputBuffers, setPacketSize, setPacketSizeImpl
checkInputBuffer, dump, getInputFormat, getOutputFormat, getSupportedInputFormats, isEOM, propagateEOM, setOutputFormat
reset
addControl, getControl, getControls, removeControl
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getControl, getControls
public java.lang.String getName()
getName
in interface PlugIn
getName
in class AbstractPlugIn
public Format[] getSupportedOutputFormats(Format input)
getSupportedOutputFormats
in interface Codec
getSupportedOutputFormats
in class AbstractCodec
public void open()
open
in interface PlugIn
open
in class AbstractPlugIn
public Format setInputFormat(Format format)
setInputFormat
in interface Codec
setInputFormat
in class AbstractCodec
public void close()
close
in interface PlugIn
close
in class AbstractPlugIn
protected int doBuildPacketHeader(Buffer inputBuffer, byte[] packetBuffer)
doBuildPacketHeader
in class AbstractPacketizer