public class CslSocketSensorSession extends AbstractServerSocketSensorSession
Modifier and Type | Field and Description |
---|---|
java.lang.String[] |
InvAlgorithm_Num |
Constructor and Description |
---|
CslSocketSensorSession(AbstractSensor<?> sensor,
java.lang.String ID,
NotifierService notifierService,
java.lang.String readerID,
java.lang.String notifyAddrPort,
java.lang.String ipAddress,
java.lang.String displayName,
java.lang.String power_ant,
java.lang.String dwellTime,
java.lang.String country,
java.lang.String inventoryRound,
java.lang.String algorithm_Q,
java.lang.String link_Profile,
java.lang.String startQ,
java.lang.String gpo_0,
java.lang.String gpo_1,
java.util.Set<AbstractCommandConfiguration<?>> commandConfigurations) |
Modifier and Type | Method and Description |
---|---|
void |
connect()
Open the connection to the Sensor.
|
void |
disconnect()
Close the connection and stop processing of commands.
|
void |
sendTag(byte[] message)
Parses and sends the tag to the desired destination.
|
killComand, restoreCommands, submit, submit, toString
getCommandInstance, getStatus, submit, submitAndBlock, suspendCommand
getCommands, getDTO, getID, getSensor, getTimeout, handleTimeout, killAllCommands
public CslSocketSensorSession(AbstractSensor<?> sensor, java.lang.String ID, NotifierService notifierService, java.lang.String readerID, java.lang.String notifyAddrPort, java.lang.String ipAddress, java.lang.String displayName, java.lang.String power_ant, java.lang.String dwellTime, java.lang.String country, java.lang.String inventoryRound, java.lang.String algorithm_Q, java.lang.String link_Profile, java.lang.String startQ, java.lang.String gpo_0, java.lang.String gpo_1, java.util.Set<AbstractCommandConfiguration<?>> commandConfigurations)
public void connect() throws java.io.IOException
SensorSession
connect
in class SensorSession
java.io.IOException
- if the connection failspublic void disconnect()
SensorSession
disconnect
in class AbstractServerSocketSensorSession
public void sendTag(byte[] message)
tag
-