PROCESS
- the process that generates the Eventpublic abstract class EventAwareProcess extends Object implements Process
Process
that is responsible to inform ListeningProcess
about events that occur during the process.Process.Event, Process.EventPoint
Modifier and Type | Field and Description |
---|---|
protected Collection<ListeningProcess> |
listeners |
protected ProcessState |
processState |
Constructor and Description |
---|
EventAwareProcess() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(ListeningProcess p) |
Collection<ListeningProcess> |
getListeners() |
protected void |
onChangeHandler(Process.Event e,
Process.EventPoint ep) |
void |
setListeners(Collection<ListeningProcess> listeners) |
protected Collection<ListeningProcess> listeners
protected ProcessState processState
public void addListener(ListeningProcess p)
protected void onChangeHandler(Process.Event e, Process.EventPoint ep)
public Collection<ListeningProcess> getListeners()
public void setListeners(Collection<ListeningProcess> listeners)
Copyright © 2018. All rights reserved.