Package | Description |
---|---|
org.epics.pvmanager |
|
org.epics.pvmanager.jca |
Support for Epics 3 data source.
|
org.epics.pvmanager.pva |
Modifier and Type | Method and Description |
---|---|
ValueCache<?> |
ChannelHandlerReadSubscription.getCache()
The cache to update when a new value is available.
|
ValueCache<Boolean> |
ChannelHandlerReadSubscription.getConnCache()
The cache to update whenever the connection state changes.
|
Modifier and Type | Method and Description |
---|---|
Map<Collector<?>,Map<String,ValueCache>> |
DataRecipe.getChannelsPerCollectors()
Returns all channels that need to be connected, organized by the collector
that needs them.
|
Map<String,ValueCache<Boolean>> |
DataRecipe.getConnectionCaches() |
Modifier and Type | Method and Description |
---|---|
protected <C,T extends DataSourceTypeAdapter<? super C,?>> |
DataSourceTypeSupport.find(Collection<T> typeAdapters,
ValueCache<?> cache,
C connection)
Given a collection of type datapters, finds the one that can store
data in the cache given the channel information described in the
connection payload.
|
protected DataSourceTypeAdapter<ConnectionPayload,MessagePayload> |
MultiplexedChannelHandler.findTypeAdapter(ValueCache<?> cache,
ConnectionPayload connection)
Finds the right adapter to use for the particular cache given the information
of the channels in the connection payload.
|
protected String |
DataSourceTypeSupport.formatMessage(ValueCache<?> cache,
Object connection,
int match,
List<? extends DataSourceTypeAdapter<?,?>> matchedConverters)
Formats the error message in case of not unique match.
|
Object |
DataSourceTypeAdapter.getSubscriptionParameter(ValueCache<?> cache,
ConnectionPayload connection)
The parameters required to open a monitor for the channel.
|
int |
DataSourceTypeAdapter.match(ValueCache<?> cache,
ConnectionPayload connection)
Determines whether the converter can take values from the channel
described by the connection payload and transform them in a
type required by the cache.
|
boolean |
DataSourceTypeAdapter.updateCache(ValueCache cache,
ConnectionPayload connection,
MessagePayload message)
Takes the information in the message and updates the cache.
|
Modifier and Type | Method and Description |
---|---|
void |
DataRecipeBuilder.addCollector(Collector<?> collector,
Map<String,ValueCache> caches)
Add a collector and the channel/caches this collector will get values from.
|
DataRecipe |
DataRecipe.includeCollector(Collector<?> collector,
Map<String,ValueCache> caches)
Creates a new recipe by adding the new collector and the new caches.
|
Constructor and Description |
---|
ChannelHandlerReadSubscription(Collector<?> collector,
ValueCache<?> cache,
ExceptionHandler handler,
Collector<Boolean> connCollector,
ValueCache<Boolean> connCache) |
ChannelHandlerReadSubscription(Collector<?> collector,
ValueCache<?> cache,
ExceptionHandler handler,
Collector<Boolean> connCollector,
ValueCache<Boolean> connCache) |
Modifier and Type | Method and Description |
---|---|
protected JCATypeAdapter |
JCATypeSupport.find(ValueCache<?> cache,
gov.aps.jca.Channel channel)
Returns a matching type adapter for the given
cache and channel.
|
Object |
JCATypeAdapter.getSubscriptionParameter(ValueCache cache,
gov.aps.jca.Channel channel) |
int |
JCATypeAdapter.match(ValueCache<?> cache,
gov.aps.jca.Channel channel) |
boolean |
JCATypeAdapter.updateCache(ValueCache cache,
gov.aps.jca.Channel channel,
JCAMessagePayload message) |
Modifier and Type | Method and Description |
---|---|
protected DataSourceTypeAdapter<Object,gov.aps.jca.event.MonitorEvent> |
PVAChannelHandler.findTypeAdapter(ValueCache<?> cache,
Object connection) |
Copyright © 2012. All Rights Reserved.