org.objectweb.proactive.core.event
Class RequestQueueEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--org.objectweb.proactive.core.event.ProActiveEvent
              |
              +--org.objectweb.proactive.core.event.RequestQueueEvent
All Implemented Interfaces:
java.io.Serializable

public class RequestQueueEvent
extends ProActiveEvent
implements java.io.Serializable

A RequestQueueEvent occurs when a RequestQueue get modified.

Since:
ProActive 0.9
Version:
1.0, 2001/10/23
Author:
ProActive Team
See Also:
RequestQueue, Serialized Form

Field Summary
static int ADD_REQUEST
           
protected  UniqueID ownerID
          id of the object owner of the Queue
static int REMOVE_REQUEST
           
static int WAIT_FOR_REQUEST
           
 
Fields inherited from class org.objectweb.proactive.core.event.ProActiveEvent
GENERIC_TYPE, timeStamp, type
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RequestQueueEvent(UniqueID ownerID, int type)
          Creates a new RequestQueueEvent based on the given owner id and type
 
Method Summary
 UniqueID getOwnerID()
          Returns the id of the owner of the RequestQueue in which the event occured
 
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

ADD_REQUEST

public static final int ADD_REQUEST
See Also:
Constant Field Values

REMOVE_REQUEST

public static final int REMOVE_REQUEST
See Also:
Constant Field Values

WAIT_FOR_REQUEST

public static final int WAIT_FOR_REQUEST
See Also:
Constant Field Values

ownerID

protected UniqueID ownerID
id of the object owner of the Queue

Constructor Detail

RequestQueueEvent

public RequestQueueEvent(UniqueID ownerID,
                         int type)
Creates a new RequestQueueEvent based on the given owner id and type

Method Detail

getOwnerID

public UniqueID getOwnerID()
Returns the id of the owner of the RequestQueue in which the event occured

Returns:
the id of the owner of the RequestQueue in which the event occured


Copyright © April 2004 INRIA All Rights Reserved.