|
IBM Rational Performance Tester SDK | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface IMsgUpgrader
Handles the conversion of Payload Messages from recordings produced using RPT <= 8.1 to new
recorder packets used in RPT 8.2, for a specific Msg {vendor,protocol,version} triplet.
Implementations of this interface are registered using the extension point
com.ibm.rational.test.lt.recorder.compatibility.recmodelUpgrader.exsd.
An upgrader is given one Msg at a time, and has the opportunity to emit zero to many packets.
It can also populate the recmodel's recording session configuration.
| Method Summary | |
|---|---|
void |
completeUpgrade(IPacketOutputStream writer,
RecordingSessionConfiguration configuration)
Completes the upgrade. |
boolean |
convertMessage(Msg msg,
IPacketOutputStream writer,
RecordingSessionConfiguration configuration)
Converts the provided Msg. |
long |
getRecordingInitialTime()
Returns the initial time of the recording, if this piece of information is available, expressed as milliseconds since the time 00:00:00 UTC on January 1, 1970. |
void |
initializeUpgrade(IPacketOutputStream writer,
RecordingSessionConfiguration configuration,
IRecModelUpgradeLog log)
Initializes this upgrader. |
| Method Detail |
|---|
void initializeUpgrade(IPacketOutputStream writer,
RecordingSessionConfiguration configuration,
IRecModelUpgradeLog log)
throws IOException
writer - A recmodel writer that can be used to emit zero or more packets.configuration - A recording session configuration that can be augmented with recorder
configurations and options as needed.
IOException
boolean convertMessage(Msg msg,
IPacketOutputStream writer,
RecordingSessionConfiguration configuration)
throws IOException
msg - The input Msg to convert.writer - A recmodel writer that can be used to emit zero or more packets that result
from the conversion of the message.configuration - A recording session configuration that can be augmented with options
that result from the conversion of the message.
IOException - Any exception thrown by the writer
void completeUpgrade(IPacketOutputStream writer,
RecordingSessionConfiguration configuration)
throws IOException
IMsgUpgrader.convertMessage(Msg, IPacketOutputStream, RecordingSessionConfiguration) invocations
have returned false).
writer - A recmodel writer that can be used to emit zero or more packets.configuration - A recording session configuration that can be augmented with recorder
configurations and options as needed.
IOExceptionlong getRecordingInitialTime()
|
IBM Rational Performance Tester SDK | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||