org.epics.pvmanager.test
Class TestDataSource
java.lang.Object
org.epics.pvmanager.DataSource
org.epics.pvmanager.test.TestDataSource
public final class TestDataSource
- extends DataSource
Data source for testing, error conditions in particular. Each instance of this
data source will have its own separate channels and values.
- Author:
- carcassi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestDataSource
public TestDataSource()
- Creates a new data source.
createChannel
protected ChannelHandler<?> createChannel(String channelName)
- Description copied from class:
DataSource
- Creates a channel handler for the given name. In the simplest
case, this is the only method a data source needs to implement.
- Specified by:
createChannel
in class DataSource
- Parameters:
channelName
- the name for a new channel
- Returns:
- a new handler
Copyright © 2011. All Rights Reserved.