IBM Rational Performance Tester SDK

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.


Method Summary
 void writePacket(IRecorderPacketReference ref, long minPendingPacketTime)
          Writes a packet reference to this output stream.
 

Method Detail

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 reference
minPendingPacketTime - 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

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.