|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.gsfc.drl.rtstps.core.output.hdf5.PacketTrackerList
public class PacketTrackerList
Build the packet tracker list in the StaticHeader
Field Summary | |
---|---|
private java.util.LinkedList<PacketTrackerItem> |
packetTrackerItems
|
private static int |
PacketTrackerItemSize
|
private static int |
SCANGROUP
|
private static int |
STARTGROUP
|
private int |
totalSize
|
Constructor Summary | |
---|---|
PacketTrackerList(int offset,
byte[] data,
int end)
This constructs the list from memory which has likely just been read from the HDF and is in the StaticHeader. |
|
PacketTrackerList(java.util.List<Packet> packetList)
Construct the in memory "packed" version of the PacketTrackerList from a List packets. |
Method Summary | |
---|---|
java.util.List<PacketTrackerItem> |
getPacketTrackerItemList()
|
int |
getSize()
Return the dataset size in bytes |
int |
write(byte[] data,
int offset)
Write the constructed PacketTrackerList to the supplied data buffer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.LinkedList<PacketTrackerItem> packetTrackerItems
private static final int STARTGROUP
private static final int SCANGROUP
private static final int PacketTrackerItemSize
private int totalSize
Constructor Detail |
---|
public PacketTrackerList(java.util.List<Packet> packetList)
packetList
- a list of packet to be made into an in memory PacketTrackerListpublic PacketTrackerList(int offset, byte[] data, int end)
offset
- data
- end
- Method Detail |
---|
public int write(byte[] data, int offset)
data
- the byte array for the dataoffset
- the offset into the array
public int getSize()
public java.util.List<PacketTrackerItem> getPacketTrackerItemList()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |