1 31 package org.objectweb.proactive.ic2d.spy; 32 33 import org.objectweb.proactive.core.UniqueID; 34 35 public class BodyCreationSpyEvent extends BodySpyEvent implements java.io.Serializable { 36 37 38 protected String className; 39 40 41 protected String nodeURL; 42 43 44 public BodyCreationSpyEvent(UniqueID bodyID, String nodeURL, String className) { 45 this(bodyID, nodeURL, className, false); 46 } 47 48 public BodyCreationSpyEvent(UniqueID bodyID, String nodeURL, String className, boolean isActive) { 49 super(BODY_CREATION_EVENT_TYPE, bodyID, isActive, true); 50 this.className = className; 51 this.nodeURL = nodeURL; 52 } 53 54 public String getClassName() { return className; } 55 public String getNodeURL() { return nodeURL; } 56 57 public String toString() { 58 return super.toString() + "\n\tnodeName:" + nodeURL + " Type: NEW OBJECT class: " + className; 59 } 60 } | Popular Tags |