org.epics.pvmanager.loc
Class LocalDataSource

java.lang.Object
  extended by org.epics.pvmanager.DataSource
      extended by org.epics.pvmanager.loc.LocalDataSource

public final class LocalDataSource
extends DataSource

Data source for locally written data. Each instance of this data source will have its own separate channels and values.

Author:
carcassi

Constructor Summary
LocalDataSource()
          Creates a new data source.
 
Method Summary
protected  ChannelHandler createChannel(java.lang.String channelName)
          Creates a channel handler for the given name.
 
Methods inherited from class org.epics.pvmanager.DataSource
close, 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

LocalDataSource

public LocalDataSource()
Creates a new data source.

Method Detail

createChannel

protected ChannelHandler createChannel(java.lang.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