public class DePacketizer extends AbstractCodec implements Codec
inputFormat, inputFormats, opened, outputFormat
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED
Constructor and Description |
---|
DePacketizer()
Because packets can come out of order, it is possible that some packets for a newer frame
may arrive while an older frame is still incomplete.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.lang.Object |
getControl(java.lang.String controlType)
Retrieve the first object that implements the given Class or Interface.
|
java.lang.Object[] |
getControls()
Retrieve an array of objects that control the object.
|
java.lang.String |
getName() |
Format[] |
getSupportedInputFormats() |
Format[] |
getSupportedOutputFormats(Format input) |
void |
open() |
int |
process(Buffer input,
Buffer output) |
void |
reset() |
Format |
setInputFormat(Format format) |
Format |
setOutputFormat(Format format) |
checkInputBuffer, dump, getInputFormat, getOutputFormat, isEOM, propagateEOM
addControl, removeControl
public DePacketizer()
public void close()
close
in interface PlugIn
close
in class AbstractPlugIn
public java.lang.Object getControl(java.lang.String controlType)
AbstractControls
getControl
in interface Controls
getControl
in class AbstractControls
public java.lang.Object[] getControls()
AbstractControls
getControls
in interface Controls
getControls
in class AbstractControls
public java.lang.String getName()
getName
in interface PlugIn
getName
in class AbstractPlugIn
public Format[] getSupportedInputFormats()
getSupportedInputFormats
in interface Codec
getSupportedInputFormats
in class AbstractCodec
public Format[] getSupportedOutputFormats(Format input)
getSupportedOutputFormats
in interface Codec
getSupportedOutputFormats
in class AbstractCodec
public void open() throws ResourceUnavailableException
open
in interface PlugIn
open
in class AbstractPlugIn
ResourceUnavailableException
public void reset()
reset
in interface PlugIn
reset
in class AbstractPlugIn
public Format setInputFormat(Format format)
setInputFormat
in interface Codec
setInputFormat
in class AbstractCodec
public Format setOutputFormat(Format format)
setOutputFormat
in interface Codec
setOutputFormat
in class AbstractCodec