|
IBM Rational Performance Tester SDK | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface IPacketInputStream
An input stream of recorder packets.
| Method Summary | |
|---|---|
void |
close()
Closes this input stream. |
IPacketAttachment |
getPartialPacketAttachment(IPacketAttachment attachment,
InputStream packetAttachmentInputStream)
Returns a packet attachment whose content is the not-consumed part of another attachment input stream obtained through this packet input stream. |
IRecorderPacket |
readPacket()
Returns the next packet in the stream. |
| Method Detail |
|---|
IRecorderPacket readPacket()
throws IOException,
ClassNotFoundException
null if the end of stream has been
reached.
IOException - Any exception thrown by the underlying I/O layer.
ClassNotFoundException - If a packet could not be read because of an
unresolved packet type (usually because the plugin declaring the packet type
is missing).
IPacketAttachment getPartialPacketAttachment(IPacketAttachment attachment,
InputStream packetAttachmentInputStream)
attachment - An attachment obtained through this packet input stream.packetAttachmentInputStream - An input stream obtained from the attachment.
void close()
throws IOException
IOException - Any exception thrown by the underlying I/O layer.
|
IBM Rational Performance Tester SDK | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||