com.ibm.rational.test.lt.testgen.core.conversion
Interface IPacketReferenceOutputStream
- All Known Subinterfaces:
- IPacketConverter
- All Known Implementing Classes:
- BasePacketConverter
public interface IPacketReferenceOutputStream
An output stream where packet references can be written.
writePacket
void writePacket(IRecorderPacketReference ref,
long minPendingPacketTime)
throws IOException
- Writes a packet reference to this output stream. New packets must be wrapped
into a reference using
IPacketConverterContext.createPacketReference(IRecorderPacket)
.
- Parameters:
packet
- A recorder packet referenceminPendingPacketTime
- The lowest start time of all packets that
may be sent to this output after the current one. If all packets are
expected to be written sorted by their start timestamp, then this value
should be greater or equal than the start timestamp of the current packet.
- Throws:
IOException
© Copyright IBM Corp. 2012. All rights reserved.