public interface IPacketConverterContext extends IPacketAttachmentFactory
IPacketConverter to
operate.| Modifier and Type | Method and Description |
|---|---|
IConvertedPacketAttachment |
createPacketAttachment()
Returns a new packet attachment that can be used to attach large data to an output
packet.
|
IRecorderPacketReference |
createPacketReference(IRecorderPacket packet)
Creates a reference to the specified packet.
|
IPacketReferenceStore |
createPacketStore()
Creates a temporary storage area for packets that need to be retained
by a converter, but may not all fit in memory.
|
PacketConverterConfiguration |
getConfiguration()
Returns the packet converter configuration.
|
IPacketReferenceOutputStream |
getOutputStream()
Returns the packet output stream that the converter should be used to emit
the result of the conversion.
|
RecorderConfiguration |
getRecorderConfiguration(short recorderId)
Returns the recorder configuration of the recorder with the specified id.
|
ITimeReference |
getTimeReference()
Returns the time reference that allows to convert recording timestamps, expressed
in an implementation-dependent but very accurate unit, to times expressed in
milliseconds.
|
void |
logMessage(com.ibm.rational.test.lt.recorder.core.util.LogMessageSeverity severity,
String message)
Logs a message about the conversion.
|
PacketConverterConfiguration getConfiguration()
ITimeReference getTimeReference()
IPacketReferenceOutputStream getOutputStream()
IPacketReferenceStore createPacketStore() throws IOException
IRecorderPacketReference, which may not scale well with large
recording sessions.IOExceptionIRecorderPacketReference createPacketReference(IRecorderPacket packet)
packet - A packet created by the converter.IConvertedPacketAttachment createPacketAttachment()
createPacketAttachment in interface IPacketAttachmentFactoryvoid logMessage(com.ibm.rational.test.lt.recorder.core.util.LogMessageSeverity severity,
String message)
severity - The message severitymessage - A messageRecorderConfiguration getRecorderConfiguration(short recorderId)
recorderId - A recorder id.null if no recorder has the specified id.IRecorderPacket.getRecorderId()© Copyright IBM Corp. 2013. All rights reserved.