public class CslSocketSensor extends AbstractSensor<CslSocketSensorSession>
Modifier and Type | Field and Description |
---|---|
static javax.management.MBeanInfo |
mbeaninfo
MBeanInfo for this class.
|
Constructor and Description |
---|
CslSocketSensor() |
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 |
getCountry() |
java.lang.String |
getDisplayName()
This method returns a display name for clients to use.
|
java.lang.String |
getIpAddress()
Returns the IP address of the reader.
|
java.lang.String |
getLinkProfile() |
javax.management.MBeanInfo |
getMBeanInfo()
Get the MBean info.
|
java.lang.String |
getNotifyAddrPort() |
java.lang.String |
getPowerAnt() |
java.lang.String |
getQAlg() |
java.util.Map<java.lang.String,SensorSession> |
getSensorSessions()
Get all currently created reader sessions.
|
java.lang.String |
getStartQ() |
void |
setCountry(java.lang.String country)
Set Country.
|
void |
setDisplayName(java.lang.String displayName) |
void |
setIpAddress(java.lang.String ipAddress)
Set the IP address of the reader.
|
void |
setLinkProfile(java.lang.String link_Profile)
Set Link Profile.
|
void |
setNotifyAddrPort(java.lang.String notifyAddrPort)
Set the Notify Address Port for the reader.
|
void |
setPowerAnt(java.lang.String power_ant)
Set the Antenna Power.
|
void |
setQAlg(java.lang.String QAlg)
Set the Q Algorithm parameter value.
|
void |
setStartQ(java.lang.String startQ)
Set the Start Q parameter value.
|
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 static final javax.management.MBeanInfo mbeaninfo
public void applyPropertyChanges()
AbstractSensor
applyPropertyChanges
in class AbstractSensor<CslSocketSensorSession>
public java.lang.String createSensorSession() throws CannotCreateSessionException
AbstractSensor
createSensorSession
in class AbstractSensor<CslSocketSensorSession>
CannotCreateSessionException
- - if the session cannot be createdpublic java.lang.String createSensorSession(SessionDTO sessionDTO) throws CannotCreateSessionException
AbstractSensor
createSensorSession
in class AbstractSensor<CslSocketSensorSession>
CannotCreateSessionException
- if the session cannot be createdpublic void destroySensorSession(java.lang.String sessionid) throws CannotDestroySensorException
AbstractSensor
destroySensorSession
in class AbstractSensor<CslSocketSensorSession>
CannotDestroySensorException
public java.lang.String getDisplayName()
AbstractSensor
public void setDisplayName(java.lang.String displayName)
public java.util.Map<java.lang.String,SensorSession> getSensorSessions()
AbstractSensor
getSensorSessions
in class AbstractSensor<CslSocketSensorSession>
public void unbindCommandConfiguration(AbstractCommandConfiguration<?> commandConfiguration, java.util.Map<?,?> properties)
AbstractSensor
unbindCommandConfiguration
in class AbstractSensor<CslSocketSensorSession>
public javax.management.MBeanInfo getMBeanInfo()
RifidiService
getMBeanInfo
in class RifidiService
public java.lang.String getIpAddress()
public java.lang.String getNotifyAddrPort()
public java.lang.String getCountry()
public java.lang.String getPowerAnt()
public java.lang.String getLinkProfile()
public java.lang.String getQAlg()
public java.lang.String getStartQ()
public void setIpAddress(java.lang.String ipAddress)
ipAddress
- the ipAddress to setpublic void setNotifyAddrPort(java.lang.String notifyAddrPort)
port
- public void setCountry(java.lang.String country)
country
- public void setLinkProfile(java.lang.String link_Profile)
link_Profile
- public void setPowerAnt(java.lang.String power_ant)
power_ant
- public void setQAlg(java.lang.String QAlg)
startQ
- public void setStartQ(java.lang.String startQ)
startQ
-