public class Thingmagic6Sensor extends AbstractSensor<Thingmagic6SensorSession>
Modifier and Type | Field and Description |
---|---|
static javax.management.MBeanInfo |
mbeaninfo |
Constructor and Description |
---|
Thingmagic6Sensor(java.util.Set<AbstractCommandConfiguration<?>> commands) |
Modifier and Type | Method and Description |
---|---|
void |
applyPropertyChanges()
Send properties that have been modified to the physical reader
|
java.lang.String |
createSensorSession()
Create a new sensor session.
|
java.lang.String |
createSensorSession(SessionDTO sessionDTO)
This method is called when a sensor session is being created from a DTO,
such as restoring the session from persistance.
|
void |
destroySensorSession(java.lang.String sessionid)
Destroy a sesnor session.
|
java.lang.String |
getAntennaSequence()
Gets the Antenna Sequence.
|
java.lang.Integer |
getMaxNumConnectionAttempts()
Gets the number of connection attempts to try before giving up.
|
javax.management.MBeanInfo |
getMBeanInfo()
Get the MBean info.
|
java.lang.String |
getPort()
Gets the port.
|
java.lang.Integer |
getReconnectionInterval()
Gets the reconnect interval.
|
java.util.Map<java.lang.String,SensorSession> |
getSensorSessions()
Get all currently created reader sessions.
|
java.lang.Integer |
getUpgradeFirmware()
Gets the Upgrade Firmware.
|
void |
setAntennaSequence(java.lang.String antennaSequence)
Sets the antenna sequence.
|
void |
setMaxNumConnectionAttempts(java.lang.Integer maxNumConnectionAttempts)
Sets the number of connection attempts to try before giving up.
|
void |
setPort(java.lang.String port) |
void |
setReconnectionInterval(java.lang.Integer reconnectionInterval)
Sets the reconnect interval.
|
void |
setUpgradeFirmware(java.lang.Integer upgradeFirmware) |
void |
unbindCommandConfiguration(AbstractCommandConfiguration<?> commandConfiguration,
java.util.Map<?,?> properties)
Notifier the sensor that a command configuration has disappeared.
|
addReceiver, getChildren, getDTO, getName, isImmutable, isInUse, receive, register, register, removeReceiver, send, sendEvent, setName, setNotifiyService, subscribe, toString, unsubscribe
getAttribute, getAttributes, getAttributes, getID, setAttribute, setAttributes, setID
public Thingmagic6Sensor(java.util.Set<AbstractCommandConfiguration<?>> commands)
public java.lang.String getPort()
public void setPort(java.lang.String port)
public java.lang.String getAntennaSequence()
public void setAntennaSequence(java.lang.String antennaSequence)
antennaSequence
- public java.lang.Integer getUpgradeFirmware()
public void setUpgradeFirmware(java.lang.Integer upgradeFirmware)
public void applyPropertyChanges()
AbstractSensor
applyPropertyChanges
in class AbstractSensor<Thingmagic6SensorSession>
public java.lang.String createSensorSession() throws CannotCreateSessionException
AbstractSensor
createSensorSession
in class AbstractSensor<Thingmagic6SensorSession>
CannotCreateSessionException
- - if the session cannot be createdpublic java.lang.String createSensorSession(SessionDTO sessionDTO) throws CannotCreateSessionException
AbstractSensor
createSensorSession
in class AbstractSensor<Thingmagic6SensorSession>
CannotCreateSessionException
- if the session cannot be createdpublic void destroySensorSession(java.lang.String sessionid) throws CannotDestroySensorException
AbstractSensor
destroySensorSession
in class AbstractSensor<Thingmagic6SensorSession>
CannotDestroySensorException
public java.util.Map<java.lang.String,SensorSession> getSensorSessions()
AbstractSensor
getSensorSessions
in class AbstractSensor<Thingmagic6SensorSession>
public void unbindCommandConfiguration(AbstractCommandConfiguration<?> commandConfiguration, java.util.Map<?,?> properties)
AbstractSensor
unbindCommandConfiguration
in class AbstractSensor<Thingmagic6SensorSession>
public javax.management.MBeanInfo getMBeanInfo()
RifidiService
getMBeanInfo
in class RifidiService
public java.lang.Integer getReconnectionInterval()
public void setReconnectionInterval(java.lang.Integer reconnectionInterval)
reconnectionInterval
- the reconnectionInterval to setpublic java.lang.Integer getMaxNumConnectionAttempts()
public void setMaxNumConnectionAttempts(java.lang.Integer maxNumConnectionAttempts)
maxNumConnectionAttempts
- the maxNumConnectionAttempts to set