|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IPacketConverterContext
Provides the necessary information and operations for a IPacketConverter
to
operate.
Method Summary | |
---|---|
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. |
Method Detail |
---|
PacketConverterConfiguration getConfiguration()
ITimeReference getTimeReference()
IPacketReferenceOutputStream getOutputStream()
IPacketReferenceStore createPacketStore() throws IOException
IRecorderPacketReference
, which may not scale well with large
recording sessions.
IOException
IRecorderPacketReference createPacketReference(IRecorderPacket packet)
packet
- A packet created by the converter.
IConvertedPacketAttachment createPacketAttachment()
createPacketAttachment
in interface IPacketAttachmentFactory
void 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()
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |