public abstract class AbstractSerialSensorSession extends AbstractSensorSession
Constructor and Description |
---|
AbstractSerialSensorSession(AbstractSensor<?> sensor,
java.lang.String ID,
java.util.Set<AbstractCommandConfiguration<?>> commandConfigurations,
java.lang.String commPortName,
int baud,
int databits,
int stopbits,
int parity,
boolean writeEnabled) |
Modifier and Type | Method and Description |
---|---|
void |
disconnect()
Close the connection and stop processing of commands.
|
java.lang.String |
toString() |
getCommandInstance, getStatus, killComand, submit, submit, submit, submitAndBlock, suspendCommand
connect, getCommands, getDTO, getID, getSensor, getTimeout, handleTimeout, killAllCommands, restoreCommands
public AbstractSerialSensorSession(AbstractSensor<?> sensor, java.lang.String ID, java.util.Set<AbstractCommandConfiguration<?>> commandConfigurations, java.lang.String commPortName, int baud, int databits, int stopbits, int parity, boolean writeEnabled)
sensor
- ID
- destination
- template
- commandConfigurations
- public void disconnect()
SensorSession
disconnect
in class SensorSession
public java.lang.String toString()
toString
in class java.lang.Object