|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cosylab.epics.caj.cas.ProcessVariableEventDispatcher
public class ProcessVariableEventDispatcher
Event callback dispatcher (fan-out).
| Field Summary | |
|---|---|
protected gov.aps.jca.cas.ProcessVariableEventCallback[] |
cachedList
|
protected ArrayList |
listeners
List of listeners. |
protected gov.aps.jca.cas.ProcessVariable |
processVariable
PV to dispatch for. |
| Constructor Summary | |
|---|---|
ProcessVariableEventDispatcher(gov.aps.jca.cas.ProcessVariable processVariable)
Constructor. |
|
| Method Summary | |
|---|---|
void |
canceled()
|
gov.aps.jca.cas.ProcessVariable |
getProcessVariable()
Get served PV. |
void |
postEvent(int select,
gov.aps.jca.dbr.DBR event)
|
void |
registerEventListener(gov.aps.jca.cas.ProcessVariableEventCallback listener)
Register new listener. |
void |
setProcessVariable(gov.aps.jca.cas.ProcessVariable processVariable)
Set served PV (allow PV to be set later to avoid chicken-egg problem). |
void |
unregisterEventListener(gov.aps.jca.cas.ProcessVariableEventCallback listener)
Unregister new listener. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected gov.aps.jca.cas.ProcessVariable processVariable
protected ArrayList listeners
protected gov.aps.jca.cas.ProcessVariableEventCallback[] cachedList
| Constructor Detail |
|---|
public ProcessVariableEventDispatcher(gov.aps.jca.cas.ProcessVariable processVariable)
processVariable - PV to dispatch for, can be null.| Method Detail |
|---|
public gov.aps.jca.cas.ProcessVariable getProcessVariable()
public void setProcessVariable(gov.aps.jca.cas.ProcessVariable processVariable)
processVariable - the processVariable to set
public void postEvent(int select,
gov.aps.jca.dbr.DBR event)
postEvent in interface gov.aps.jca.cas.ProcessVariableEventCallbackProcessVariableEventCallback.postEvent(int, gov.aps.jca.dbr.DBR)public void registerEventListener(gov.aps.jca.cas.ProcessVariableEventCallback listener)
listener - public void unregisterEventListener(gov.aps.jca.cas.ProcessVariableEventCallback listener)
listener - public void canceled()
CompletionCallback.canceled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||