IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.testgen.core.store
Interface IConvertedPacketAttachment

All Superinterfaces:
IPacketAttachment

public interface IConvertedPacketAttachment
extends IPacketAttachment

A special kind of packet attachment that is able to receive the content of another attachment without the data copy really happening. Converters should use ConvertedAttachmentOutputStream#appendContent(IPacketAttachment) instead of performing a direct stream-to-stream copy of the data wherever this is possible.


Method Summary
 ConvertedAttachmentOutputStream getOutputStream()
          Returns the output stream used to store an arbitrarily large amount of data.
 
Methods inherited from interface com.ibm.rational.test.lt.recorder.core.packet.IPacketAttachment
createInputStream
 

Method Detail

getOutputStream

ConvertedAttachmentOutputStream getOutputStream()
Description copied from interface: IPacketAttachment
Returns the output stream used to store an arbitrarily large amount of data. The returned output stream must be closed by the caller.

Specified by:
getOutputStream in interface IPacketAttachment
Returns:
An output stream.

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.