|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.epics.pvmanager.DataSource
org.epics.pvmanager.jca.JCADataSource
public class JCADataSource
A data source that uses jca.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.epics.pvmanager.DataSource |
---|
DataSource.ValueProcessor<P,V> |
Constructor Summary | |
---|---|
JCADataSource()
Creates a new data source using pure Java implementation |
|
JCADataSource(java.lang.String className,
int monitorMask)
Creates a new data source using the className to create the context. |
|
JCADataSource(java.lang.String className,
int monitorMask,
boolean destroyContextWhenDone)
Creates a new data source using the className to create the context, and specifying whether the context should be destroy when the last connection is closed. |
Method Summary | |
---|---|
void |
connect(DataRecipe dataRecipe)
Connects to a set of channels based on the given recipe. |
void |
disconnect(DataRecipe recipe)
Disconnects the set of channels given by the recipe. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JCADataSource()
public JCADataSource(java.lang.String className, int monitorMask)
className
- JCALibrary.CHANNEL_ACCESS_JAVA, JCALibrary.JNI_THREAD_SAFE, ...monitorMask
- Monitor.VALUE, ...public JCADataSource(java.lang.String className, int monitorMask, boolean destroyContextWhenDone)
className
- JCALibrary.CHANNEL_ACCESS_JAVA, JCALibrary.JNI_THREAD_SAFE, ...monitorMask
- Monitor.VALUE, ...Method Detail |
---|
public void connect(DataRecipe dataRecipe)
DataSource
The data source must update the value caches relative to each channel. Before updating any cache, it must lock the collector relative to that cache and after any update it must notify the collector.
connect
in class DataSource
dataRecipe
- the instructions for the data connectionpublic void disconnect(DataRecipe recipe)
DataSource
The disconnect call is guaranteed to be given the same object, so that the recipe itself can be used as a key in a map to retrieve the list of resources needed to be closed.
disconnect
in class DataSource
recipe
- the instructions for the data connection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |