gov.nasa.gsfc.drl.rtstps.core.output.hdf5
Class RandomAccessPacketFactory

java.lang.Object
  extended by gov.nasa.gsfc.drl.rtstps.core.output.hdf5.RandomAccessPacketFactory
All Implemented Interfaces:
PacketFactoryI

 class RandomAccessPacketFactory
extends java.lang.Object
implements PacketFactoryI

A Packet is not created but simply re-used over and over again, although the data is copied into it. This is used specifically for the RandomAccessPacketReader which reads packets out of the StaticHeader, it does not interact with the PacketPool in any manner.


Field Summary
private static FrameAnnotation fa
           
private static Packet packet
           
 
Constructor Summary
RandomAccessPacketFactory()
           
 
Method Summary
 PacketI make(int index, byte[] data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

packet

private static Packet packet

fa

private static FrameAnnotation fa
Constructor Detail

RandomAccessPacketFactory

RandomAccessPacketFactory()
Method Detail

make

public PacketI make(int index,
                    byte[] data)
Specified by:
make in interface PacketFactoryI