package avnmp.java.tutorial.BuildingApplications;


// This class defines the active packet that is transmitted across the network.
// This class forms the active packet that creates the load on the network.
// See LoadGenAppBasicBase for details about the base class.

public class LoadPacketAppBasic extends LoadGenAppBasicBase
{

    public LoadPacketAppBasic() {
    }


    synchronized public void exec() {
         String NodeName = GetNodeName();

         if(NodeName.equals(Destination_Address)) {
              halt();
         }
    }
}