public class LoadPacketAppBasic extends LoadGenAppBasicBase
{
public LoadPacketAppBasic()
{
}
synchronized public void exec()
{
String
NodeName = GetNodeName();
// Destination_Address is a field inherited from the base Magician active
packet class. This field contains the
// destination node name. If this packet is currently on the destination
node, then the inherited halt() method
// will cause this packet to end execution and cease to exist.
if(NodeName.equals(Destination_Address)) {
halt();
}
}