public class DePacketizer extends AbstractCodec implements Codec
inputFormat, inputFormats, opened, outputFormatBUFFER_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, propagateEOMaddControl, removeControlpublic DePacketizer()
public void close()
close in interface PlugInclose in class AbstractPlugInpublic java.lang.Object getControl(java.lang.String controlType)
AbstractControlsgetControl in interface ControlsgetControl in class AbstractControlspublic java.lang.Object[] getControls()
AbstractControlsgetControls in interface ControlsgetControls in class AbstractControlspublic java.lang.String getName()
getName in interface PlugIngetName in class AbstractPlugInpublic Format[] getSupportedInputFormats()
getSupportedInputFormats in interface CodecgetSupportedInputFormats in class AbstractCodecpublic Format[] getSupportedOutputFormats(Format input)
getSupportedOutputFormats in interface CodecgetSupportedOutputFormats in class AbstractCodecpublic void open()
throws ResourceUnavailableException
open in interface PlugInopen in class AbstractPlugInResourceUnavailableExceptionpublic void reset()
reset in interface PlugInreset in class AbstractPlugInpublic Format setInputFormat(Format format)
setInputFormat in interface CodecsetInputFormat in class AbstractCodecpublic Format setOutputFormat(Format format)
setOutputFormat in interface CodecsetOutputFormat in class AbstractCodec