public interface IProtocolDeviceAcquisitionService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SERVICE_NAME
Reports the class name representing this interface.
|
Modifier and Type | Method and Description |
---|---|
ProtocolDevice |
getProtocolDevice(java.lang.String protocol)
Gets the desired protocol interface if available.
|
ProtocolDevice |
getProtocolDevice(java.lang.String protocol,
java.util.Properties configureProtocol,
java.util.Properties configureConnection,
java.util.Properties configureDataMap)
Gets the desired protocol interface if available and configures the
interface.
|
static final java.lang.String SERVICE_NAME
ProtocolDevice getProtocolDevice(java.lang.String protocol) throws ProtocolNotAvailableException
protocol
- 'toString' name of desired protocolProtocolNotAvailableException
- the selected protocol is not installed in this systemProtocolDevice getProtocolDevice(java.lang.String protocol, java.util.Properties configureProtocol, java.util.Properties configureConnection, java.util.Properties configureDataMap) throws ProtocolNotAvailableException, ProtocolConfigurationInvalidException
protocol
- 'toString' name of desired protocolconfigureProtocol
- key/value paring directly from configuration file or may be
generated.configureConnection
- key/value paring directly from configuration file or may be
generated.configureDataMap
- key/value paring directly from configuration file or may be
generated. Not all protocols require this configuration, this
Dictionary may be null. If the selected protocol does require
this configuration, a null Dictionary will cause the protocol
to not configure and will throw a
ProtocolConfigurationInvalidException.ProtocolNotAvailableException
- the selected protocol is not installed in this systemProtocolConfigurationInvalidException
- one of the configurations is invalid or a required
configuration is missingCopyright © 2009 Eurotech Inc. All rights reserved.