|
||||||||||
| 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.
Type support can be configured by passing a custom JCATypeSupport
to the constructor.
| Constructor Summary | |
|---|---|
JCADataSource()
Creates a new data source using pure Java implementation |
|
JCADataSource(Context jcaContext,
int monitorMask)
Creates a new data source using the given context. |
|
JCADataSource(Context jcaContext,
int monitorMask,
JCATypeSupport typeSupport)
Creates a new data source using the given context. |
|
JCADataSource(Context jcaContext,
int monitorMask,
JCATypeSupport typeSupport,
boolean dbePropertySupported,
boolean varArraySupported)
Creates a new data source using the given context. |
|
| Method Summary | |
|---|---|
void |
close()
Closes the DataSource and the resources associated with it. |
protected ChannelHandler |
createChannel(java.lang.String channelName)
Creates a channel handler for the given name. |
Context |
getContext()
The context used by the data source. |
int |
getMonitorMask()
The monitor mask used for this data source. |
boolean |
isDbePropertySupported()
Whether the metadata monitor should be established. |
boolean |
isVarArraySupported()
True whether the context can use variable arrays (all array monitor request will have an element count of 0). |
static boolean |
isVarArraySupported(Context context)
Determines whether the context supports variable arrays or not. |
| 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(Context jcaContext,
int monitorMask)
jcaContext - the context to be usedmonitorMask - Monitor.VALUE, ...
public JCADataSource(Context jcaContext,
int monitorMask,
JCATypeSupport typeSupport)
jcaContext - the context to be usedmonitorMask - Monitor.VALUE, ...typeSupport - type support to be used
public JCADataSource(Context jcaContext,
int monitorMask,
JCATypeSupport typeSupport,
boolean dbePropertySupported,
boolean varArraySupported)
jcaContext - the context to be usedmonitorMask - Monitor.VALUE, ...typeSupport - type support to be useddbePropertySupported - whether metadata monitors should be usedvarArraySupported - true if var array should be used| Method Detail |
|---|
public void close()
DataSource
close in class DataSourcepublic Context getContext()
public int getMonitorMask()
public boolean isDbePropertySupported()
protected ChannelHandler createChannel(java.lang.String channelName)
DataSource
createChannel in class DataSourcechannelName - the name for a new channel
public boolean isVarArraySupported()
public static boolean isVarArraySupported(Context context)
context - a JCA Context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||