gov.nasa.gsfc.drl.rtstps.core.output.hdf5.UnitTest
Interface PacketReaderI

All Known Implementing Classes:
FilePacketReader

public interface PacketReaderI

PacketReader interface


Method Summary
 boolean hasNext()
          If there's space for a packet there's another...
 PacketI next()
          Return a Packet constructed from an index into the buffer
 void remove()
          Remove current packet.
 

Method Detail

next

PacketI next()
Return a Packet constructed from an index into the buffer

Returns:
the next packet

hasNext

boolean hasNext()
If there's space for a packet there's another...

Returns:
true if there is another packet, false if not

remove

void remove()
Remove current packet. Generally not supported and throws a runtime exception