IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.recorder.core.packet.connection
Interface IDataConnectionPacket

All Superinterfaces:
IConnectionPacket, IRecorderPacket, Serializable
All Known Subinterfaces:
IReceiveConnectionPacket, ISendConnectionPacket

public interface IDataConnectionPacket
extends IConnectionPacket

A packet indicating that data was exchanged on an open connection.


Field Summary
 
Fields inherited from interface com.ibm.rational.test.lt.recorder.core.packet.connection.IConnectionPacket
DEFAULT_DOMAIN, ID, NO_CONNECTION
 
Method Summary
 InputStream createInputStream()
          Returns an input stream containing the data exchanged on the connection.
 IPacketAttachment getPacketAttachment()
          Returns the attachment, if data is defined as an attachment, containing the data exchanged on the connection.
 
Methods inherited from interface com.ibm.rational.test.lt.recorder.core.packet.connection.IConnectionPacket
getConnectionId, getDomainId
 
Methods inherited from interface com.ibm.rational.test.lt.recorder.core.packet.IRecorderPacket
getEndTimestamp, getPacketType, getPacketVersion, getRecorderId, getSize, getStartTimestamp
 

Method Detail

createInputStream

InputStream createInputStream()
Returns an input stream containing the data exchanged on the connection.

Returns:

getPacketAttachment

IPacketAttachment getPacketAttachment()
Returns the attachment, if data is defined as an attachment, containing the data exchanged on the connection. This returns null if data is not stored as packet attachment.

Returns:

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.