public interface ISerialCommAquisitionService
| 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 |
|---|---|
ISerialCommService |
getSerialCommService(java.lang.String port,
boolean exclusive)
Gets an ISerialCommService object for the selected port.
|
void |
releaseSerialCommService(ISerialCommService service)
Releases the selected ISerialCommService object.
|
static final java.lang.String SERVICE_NAME
ISerialCommService getSerialCommService(java.lang.String port, boolean exclusive) throws PortInUseException, PortNotAvailableException
port - Name of device controlling the selected port.exclusive - If set, the ISerialCOmmService object is not to be shared.PortInUseException - Attempted to obtain the object for a port already held
exclusive by another thread or attempted exclusive mode
for an object already held by another thread.PortNotAvailableException - The selected port device does not exist.void releaseSerialCommService(ISerialCommService service)
service - If service is invalid, this method does nothing.Copyright © 2009 Eurotech Inc. All rights reserved.