1 31 package org.objectweb.proactive.core.event; 32 33 import org.objectweb.proactive.core.runtime.ProActiveRuntime; 34 35 36 46 public class RuntimeRegistrationEvent extends ProActiveEvent { 47 48 49 public static final int RUNTIME_REGISTERED = 10; 50 protected String creatorID; 51 protected String registeredRuntimeName; 52 protected String protocol; 53 protected String vmName; 54 55 63 public RuntimeRegistrationEvent(ProActiveRuntime ProActiveRuntime, 64 int messagetype, String registeredRuntimeName, String creatorID, 65 String protocol, String vmName) { 66 super(ProActiveRuntime, messagetype); 67 this.creatorID = creatorID; 68 this.registeredRuntimeName = registeredRuntimeName; 69 this.protocol = protocol; 70 this.vmName = vmName; 71 } 72 73 public String getCreatorID() { 74 return creatorID; 75 } 76 77 public String getRegisteredRuntimeName() { 78 return registeredRuntimeName; 79 } 80 81 public String getProtocol() { 82 return protocol; 83 } 84 85 public String getVmName() { 86 return vmName; 87 } 88 } 89 | Popular Tags |