|
||||||||||
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.
NOTE: this class is extensible as per Bastian request so that DESY can hook a different type factory. This is a temporary measure until the problem is solved in better, more general way, so that data sources can work only with data source specific types, while allowing conversions to normalized type through operators. The contract of this class is, therefore, expected to change.
Related changes are marked so that they are not accidentally removed in the meantime, and can be intentionally removed when a better solution is implemented.
Constructor Summary | |
---|---|
JCADataSource()
Creates a new data source using pure Java implementation |
|
JCADataSource(gov.aps.jca.Context jcaContext,
int monitorMask)
Creates a new data source using the given context. |
|
JCADataSource(String className,
int monitorMask)
Creates a new data source using the className to create the context. |
Method Summary | |
---|---|
void |
close()
Closes the DataSource and the resources associated with it. |
protected ChannelHandler<?> |
createChannel(String channelName)
Creates a channel handler for the given name. |
gov.aps.jca.Context |
getContext()
The context used by the data source. |
int |
getMonitorMask()
The monitor mask used for this data source. |
Methods inherited from class org.epics.pvmanager.DataSource |
---|
concludeWrite, connect, disconnect, getChannels, isWriteable, prepareWrite, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JCADataSource()
public JCADataSource(gov.aps.jca.Context jcaContext, int monitorMask)
jcaContext
- the context to be usedmonitorMask
- Monitor.VALUE, ...public JCADataSource(String className, int monitorMask)
className
- JCALibrary.CHANNEL_ACCESS_JAVA, JCALibrary.JNI_THREAD_SAFE, ...monitorMask
- Monitor.VALUE, ...Method Detail |
---|
public void close()
DataSource
close
in class DataSource
public gov.aps.jca.Context getContext()
public int getMonitorMask()
protected ChannelHandler<?> createChannel(String channelName)
DataSource
createChannel
in class DataSource
channelName
- the name for a new channel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |