public interface IPacketOutputStream extends IPacketAttachmentFactory
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the output stream.
|
IPacketAttachment |
createPacketAttachment()
Creates a packet attachment.
|
void |
writePacket(IRecorderPacket packet)
Writes a packet to the stream.
|
void writePacket(IRecorderPacket packet) throws IOException
packet - A recorder packet.IOExceptionIPacketAttachment createPacketAttachment()
IPacketOutputStream.close() method. In order to be able to retrieve
the packet attachment upon reading, the packet attachment must be referenced by one or
more recorder packets stored in the same output stream.createPacketAttachment in interface IPacketAttachmentFactoryvoid close()
throws IOException
IOException© Copyright IBM Corp. 2013. All rights reserved.