package avnmp.java.tutorial.BuildingApplications;

import java.lang.reflect.Field;
import java.io.*;
import java.util.*;
import magician.Node.*;

public class LoadGenAppBasicBase extends KU_SmartPacket_V2 implements java.io.Serializable {

   public LoadGenAppBasicBase() {
   }

// The purpose of this class is to allow the Magician system to serialize classes defined in other
// packages for use in new active packets.

   private void writeObject(ObjectOutputStream out) throws IOException {
        try {
             Field[] comps = Class.forName("avnmp.java.tutorial.BuildApplication").getDeclaredFields();
             describeComponents(comps, out);
        } catch(ClassNotFoundException e) {
             e.printStackTrace();
        }
        out.defaultWriteObject();
   }
}