Package xal.plugin.epics7
Class Epics7ChannelFactory
java.lang.Object
xal.ca.ChannelFactory
xal.plugin.epics7.Epics7ChannelFactory
NOTE: previous implementations kept a cache of native channels, but that is not required since ChannelFactory keeps a
list of Open XAL Channels, which can create only 1 native channel each. TODO: test if it works when connecting to 2
different fields of the same PV.
- Author:
- Juan F. Esteban Müller <JuanF.EstebanMuller@ess.eu>
-
Field Summary
Fields inherited from class xal.ca.ChannelFactory
testSuffix
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ChannelSystem
Get the associated channel system from the channel factory implementation.protected void
dispose()
boolean
init()
This method does not perform any action, it only returns true if the system has been initialized.protected Channel
newChannel
(String signalName) Create a concrete channel which makes an appropriate low level channelvoid
Print information about this factoryMethods inherited from class xal.ca.ChannelFactory
defaultFactory, destroy, disposeAll, getChannel, getChannel, getTestSuffix, isTest, newChannel, newFactory, newServerFactory, setTest, setTestSuffix
-
Constructor Details
-
Epics7ChannelFactory
public Epics7ChannelFactory()
-
-
Method Details
-
init
public boolean init()This method does not perform any action, it only returns true if the system has been initialized.- Specified by:
init
in classChannelFactory
- Returns:
-
dispose
protected void dispose()- Specified by:
dispose
in classChannelFactory
-
newChannel
Description copied from class:ChannelFactory
Create a concrete channel which makes an appropriate low level channel- Specified by:
newChannel
in classChannelFactory
- Parameters:
signalName
- PV for which to create a new channel- Returns:
- a new channel for the specified signal name
-
channelSystem
Description copied from class:ChannelFactory
Get the associated channel system from the channel factory implementation.- Specified by:
channelSystem
in classChannelFactory
- Returns:
- The channel system
-
printInfo
public void printInfo()Description copied from class:ChannelFactory
Print information about this factory- Specified by:
printInfo
in classChannelFactory
-