public interface IPacketConverter extends IPacketReferenceOutputStream
Modifier and Type | Method and Description |
---|---|
void |
complete()
Completes the conversion.
|
void |
dispose()
Allows the converter to release any resources it has allocated.
|
Set<String> |
getOutputPacketTypes(Set<String> inputPacketTypes)
Returns all packet types that this converter can produce, for the given
set of packet input types.
|
void |
initialize(IPacketConverterContext context)
Initializes the packet converter.
|
writePacket
Set<String> getOutputPacketTypes(Set<String> inputPacketTypes)
inputPacketTypes
- A set of packet types.void initialize(IPacketConverterContext context) throws CoreException
context
- The context that can be used by the packet converter to read its
configuration, retrieve its output stream or create attachments. At this time the
converter may not emit packet (IPacketConverterContext.getOutputStream()
will return null
).CoreException
- If the packet converter cannot initialize and operate.void complete() throws IOException
IPacketConverter.dispose()
instead.IOException
void dispose()
IPacketConverter.initialize(IPacketConverterContext)
has been
invoked.© Copyright IBM Corp. 2013. All rights reserved.