org.demac.process.base.event
Class RequestProcessEvent

java.lang.Object
  extended by org.demac.event.Event
      extended by org.demac.event.MulticastEvent
          extended by org.demac.process.core.event.ProcessEvent
              extended by org.demac.process.base.event.RequestProcessEvent

public class RequestProcessEvent
extends ProcessEvent

An Event to request a subprocess. Dispatched by the Process Service to request a subprocess.


Field Summary
 
Fields inherited from class org.demac.event.MulticastEvent
ALL, PERIPHERY
 
Fields inherited from class org.demac.event.Event
GLOBAL_SCOPE, LOCAL_EVENT, LOCAL_SCOPE, PERIPERY_SCOPE, REMOTE_EVENT
 
Constructor Summary
RequestProcessEvent(java.lang.String id)
          Constructor to create a new org.demac.process.base.event.RequestProcessEvent
 
Method Summary
 EventHandle getEventHandle()
          Method to get the type of the event.
 java.lang.Object getPayload()
          Method to get the payload of the event.
 
Methods inherited from class org.demac.process.core.event.ProcessEvent
getMulticastScope, getOriginHandle, getPriority, getScope, setOriginHandle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestProcessEvent

public RequestProcessEvent(java.lang.String id)
Constructor to create a new org.demac.process.base.event.RequestProcessEvent

Parameters:
id - the id of the requested org.demac.process.core.dpdl.Process
Method Detail

getEventHandle

public EventHandle getEventHandle()
Description copied from class: Event
Method to get the type of the event.

Specified by:
getEventHandle in class ProcessEvent
Returns:
the type of this event
See Also:
Event.getEventHandle()

getPayload

public java.lang.Object getPayload()
Description copied from class: Event
Method to get the payload of the event.

Specified by:
getPayload in class ProcessEvent
Returns:
the payload of the event.
See Also:
Event.getPayload()