org.objectweb.proactive.core.event
Class RuntimeRegistrationEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.objectweb.proactive.core.event.ProActiveEvent
          extended byorg.objectweb.proactive.core.event.RuntimeRegistrationEvent
All Implemented Interfaces:
java.io.Serializable

public class RuntimeRegistrationEvent
extends ProActiveEvent

Event sent when a proActiveRuntime is registered in a Hashtable.

Since:
ProActive 0.9.4
Version:
1.0, 2002/08/06
Author:
ProActive Team
See Also:
Serialized Form

Field Summary
protected  java.lang.String creatorID
           
protected  java.lang.String protocol
           
protected  ProActiveRuntime registeredRuntimeName
           
static int RUNTIME_ACQUIRED
           
static int RUNTIME_REGISTERED
          constant for the registration
protected  java.lang.String vmName
           
 
Fields inherited from class org.objectweb.proactive.core.event.ProActiveEvent
GENERIC_TYPE, timeStamp, type
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RuntimeRegistrationEvent(ProActiveRuntime proActiveRuntime, int messageType, ProActiveRuntime registeredRuntimeName, java.lang.String creatorID, java.lang.String protocol, java.lang.String vmName)
          Creates a new RuntimeRegistrationEvent
 
Method Summary
 java.lang.String getCreatorID()
           
 java.lang.String getProtocol()
           
 ProActiveRuntime getRegisteredRuntime()
           
 java.lang.String getVmName()
           
 
Methods inherited from class org.objectweb.proactive.core.event.ProActiveEvent
getTimeStamp, getType, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RUNTIME_REGISTERED

public static final int RUNTIME_REGISTERED
constant for the registration

See Also:
Constant Field Values

RUNTIME_ACQUIRED

public static final int RUNTIME_ACQUIRED
See Also:
Constant Field Values

creatorID

protected java.lang.String creatorID

registeredRuntimeName

protected ProActiveRuntime registeredRuntimeName

protocol

protected java.lang.String protocol

vmName

protected java.lang.String vmName
Constructor Detail

RuntimeRegistrationEvent

public RuntimeRegistrationEvent(ProActiveRuntime proActiveRuntime,
                                int messageType,
                                ProActiveRuntime registeredRuntimeName,
                                java.lang.String creatorID,
                                java.lang.String protocol,
                                java.lang.String vmName)
Creates a new RuntimeRegistrationEvent

Parameters:
proActiveRuntime - the local runtime on which the registration occurs
messageType - the type of the event RUNTIME_REGISTERED
registeredRuntimeName - the name of the registered ProActiveRuntime
creatorID - The name of the creator of the registered ProActiveRuntime
protocol - The protocol used to register the registered ProActiveRuntime when created
Method Detail

getCreatorID

public java.lang.String getCreatorID()

getRegisteredRuntime

public ProActiveRuntime getRegisteredRuntime()

getProtocol

public java.lang.String getProtocol()

getVmName

public java.lang.String getVmName()


Copyright ? October 2004 INRIA All Rights Reserved.