Package org.scictrl.csshell.dummy
Class DummyConnector
DummyConnector class.
- Author:
- igor@scictrl.com
-
Nested Class Summary
Nested classes/interfaces inherited from class org.scictrl.csshell.AbstractConnector
AbstractConnector.DefaultConnectionCache
-
Field Summary
Fields inherited from class org.scictrl.csshell.AbstractConnector
connectionCache, debug, PROPERTY_CORE_THREADS, PROPERTY_MAX_THREADS, PROPERTY_READ_ONLY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AbstractConnector
<?> getInstance
(Properties configuration) Create new EPICS plug instance.getMetaData
(String name, DataType type) getMetaData.void
getMetaDataAsync
(gov.aps.jca.Channel channel, PropertyChangeListener l) getMetaDataAsync.getType()
Returns connector type string.getValue.newConnection
(String name, DataType dataType) newConnection.Methods inherited from class org.scictrl.csshell.AbstractConnector
getConfiguration, getConnectionCache, getCoreThreads, getDefaultMetaData, getExecutor, getLogger, getMaxThreads, isAlive, isDebug, isReadOnly, newDefaultConnectionCache, registerDefaultMetaData, schedule, setConnectionCache, shutdown
-
Field Details
-
TYPE
ConstantTYPE="DUMMY"
- See Also:
-
-
Constructor Details
-
DummyConnector
Constructor for DummyConnector.
- Parameters:
configuration
- aProperties
object
-
-
Method Details
-
getInstance
Create new EPICS plug instance.- Parameters:
configuration
- aProperties
object- Returns:
- a
EPICSConnector
object - Throws:
RemoteException
- if initialization of remote context fails
-
getType
Returns connector type string.- Specified by:
getType
in classAbstractConnector<DummyConnection<?>>
- Returns:
- distinguishing type name
-
getMetaData
getMetaData.
- Specified by:
getMetaData
in classAbstractConnector<DummyConnection<?>>
- Parameters:
name
- aString
objecttype
- aDataType
object- Returns:
- a
MetaData
object - Throws:
Exception
- if any.
-
newConnection
newConnection.
- Specified by:
newConnection
in classAbstractConnector<DummyConnection<?>>
- Parameters:
name
- aString
objectdataType
- aDataType
object- Returns:
- a C object
- Throws:
RemoteException
- if any.
-
getValue
getValue.
- Specified by:
getValue
in classAbstractConnector<DummyConnection<?>>
- Parameters:
name
- aString
objecttype
- aDataType
object- Returns:
- a
Object
object - Throws:
RemoteException
- if any.
-
getMetaDataAsync
public void getMetaDataAsync(gov.aps.jca.Channel channel, PropertyChangeListener l) throws Exception getMetaDataAsync.
- Specified by:
getMetaDataAsync
in classAbstractConnector<DummyConnection<?>>
- Parameters:
channel
- aChannel
objectl
- aPropertyChangeListener
object- Throws:
Exception
- if any.
-