gov.nasa.gsfc.drl.rtstps.core.output.hdf5.UnitTest
Class CopyPacketFactory

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

public class CopyPacketFactory
extends java.lang.Object
implements PacketFactoryI

Create a new Packet and copy the data into it


Constructor Summary
CopyPacketFactory()
           
 
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
 

Constructor Detail

CopyPacketFactory

public CopyPacketFactory()
Method Detail

make

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