public class RifidiServicesApp extends AbstractRifidiApp
readZones
LAZY_START
Constructor and Description |
---|
RifidiServicesApp(java.lang.String group,
java.lang.String name)
Constructor called by spring injection
|
Modifier and Type | Method and Description |
---|---|
void |
_start()
Subclasses should use this method to add statements.
|
void |
_stop()
Subclasses should override this method do any work they need to do when
the application is stopping.
|
java.lang.Integer |
getCountThreshold() |
java.lang.Float |
getDepartureTime() |
java.lang.Integer |
getLimitOfTags() |
LimitStableSetService |
getLimitStableSetService() |
java.lang.Double |
getMinAvgRSSIThreshold() |
MqttClient |
getMqttClient() |
int |
getMqttQos() |
java.lang.Float |
getNotifyInterval() |
ReadZoneMonitoringService |
getReadZoneMonitoringService() |
RSSIMonitoringService |
getRssiMonitoringService() |
StableSetService |
getStableSetService() |
java.lang.Float |
getStableSetTime() |
UniqueTagBatchIntervalService |
getUniqueTagBatchIntervalService() |
java.lang.Float |
getWindowTime() |
void |
initialize()
The initialize method can be used to do any work that needs to be done
right before the start method is called.
|
void |
setCountThreshold(java.lang.Integer countThreshold) |
void |
setDepartureTime(java.lang.Float departureTime) |
void |
setLimitOfTags(java.lang.Integer limitOfTags) |
void |
setLimitStableSetService(LimitStableSetService limitStableSetService) |
void |
setMinAvgRSSIThreshold(java.lang.Double minAvgRSSIThreshold) |
void |
setMqttClient(MqttClient mqttClient) |
void |
setMqttQos(int mqttQos) |
void |
setNotifyInterval(java.lang.Float notifyInterval) |
void |
setReaderDAO(ReaderDAO readerDAO)
Inject the reader DAO to allow this app to stop the reader.
|
void |
setReadZoneMonitoringService(ReadZoneMonitoringService readZoneMonitoringService) |
void |
setRssiMonitoringService(RSSIMonitoringService rssiMonitoringService) |
void |
setStableSetService(StableSetService stableSetService) |
void |
setStableSetTime(java.lang.Float stableSetTime) |
void |
setUniqueTagBatchIntervalService(UniqueTagBatchIntervalService uniqueTagBatchIntervalService) |
void |
setWindowTime(java.lang.Float windowTime) |
void |
stopReaderSession(java.lang.String readerID)
Stop any currently running sessions for the given reader ID.
|
void |
subscribeToLimitStableSetService(ReadZone readZone) |
void |
subscribeToReadZoneService(ReadZone readZone) |
void |
subscribeToRSSIMonitoringService(java.util.HashMap<java.lang.String,ReadZone> allReadZones) |
void |
subscribeToStableSetService(ReadZone readZone) |
void |
subscribeToUniqueTagBatchIntervalService(ReadZone readZone) |
void |
unsubscribeFromLimitStableSetService(MyLimitStableSetSubscriber myLimitStableSetSubscriber) |
void |
unsubscribeFromReadZoneService(MyReadZoneSubscriber myReadZoneSubscriber) |
void |
unsubscribeFromRSSIMonitoringService(MyRSSIReadZoneSubscriber myRSSIReadZoneSubscriber) |
void |
unsubscribeFromStableSetService(MyStableSetSubscriber myStableSetSubscriber) |
void |
unsubscribeFromUniqueTagBatchIntervalService(MyUniqueTagBatchSubscriber myUniqueTagBatchSubscriber) |
compareTo, equals, getGroup, getName, getState, hashCode, lazyStart, setAppProperties, setBundleContext, setEsperService, start, stop, toString
public RifidiServicesApp(java.lang.String group, java.lang.String name)
group
- the group name of applicationname
- the name of applicationpublic MqttClient getMqttClient()
public void setMqttClient(MqttClient mqttClient)
mqttClient
- the mqttClient to setpublic int getMqttQos()
public void setMqttQos(int mqttQos)
mqttQos
- the mqttQos to setpublic StableSetService getStableSetService()
public void setStableSetService(StableSetService stableSetService)
stableSetService
- the stableSetService to setpublic LimitStableSetService getLimitStableSetService()
public void setLimitStableSetService(LimitStableSetService limitStableSetService)
limitStableSetService
- the limitStableSetService to setpublic ReadZoneMonitoringService getReadZoneMonitoringService()
public void setReadZoneMonitoringService(ReadZoneMonitoringService readZoneMonitoringService)
readZoneMonitoringService
- the readZoneMonitoringService to setpublic UniqueTagBatchIntervalService getUniqueTagBatchIntervalService()
public void setUniqueTagBatchIntervalService(UniqueTagBatchIntervalService uniqueTagBatchIntervalService)
uniqueTagBatchIntervalService
- the uniqueTagBatchIntervalService to setpublic RSSIMonitoringService getRssiMonitoringService()
public void setRssiMonitoringService(RSSIMonitoringService rssiMonitoringService)
rssiMonitoringService
- the rssiMonitoringService to setpublic void setReaderDAO(ReaderDAO readerDAO)
readerDAO
- public java.lang.Float getDepartureTime()
public void setDepartureTime(java.lang.Float departureTime)
departureTime
- the departureTime to setpublic java.lang.Float getNotifyInterval()
public void setNotifyInterval(java.lang.Float notifyInterval)
notifYInterval
- the notifYInterval to setpublic java.lang.Float getWindowTime()
public void setWindowTime(java.lang.Float windowTime)
windowTime
- the windowTime to setpublic java.lang.Integer getCountThreshold()
public void setCountThreshold(java.lang.Integer countThreshold)
countThreshold
- the countThreshold to setpublic java.lang.Double getMinAvgRSSIThreshold()
public void setMinAvgRSSIThreshold(java.lang.Double minAvgRSSIThreshold)
minAvgRSSIThreshold
- the minAvgRSSIThreshold to setpublic void _start()
AbstractRifidiApp
public void _stop()
AbstractRifidiApp
public java.lang.Float getStableSetTime()
public void setStableSetTime(java.lang.Float stableSetTime)
stableSetTime
- the stableSetTime to setpublic java.lang.Integer getLimitOfTags()
public void setLimitOfTags(java.lang.Integer limitOfTags)
limitOfTags
- the limitOfTags to setpublic void unsubscribeFromStableSetService(MyStableSetSubscriber myStableSetSubscriber)
stableSetSubscriber
- public void unsubscribeFromLimitStableSetService(MyLimitStableSetSubscriber myLimitStableSetSubscriber)
public void unsubscribeFromReadZoneService(MyReadZoneSubscriber myReadZoneSubscriber)
public void unsubscribeFromUniqueTagBatchIntervalService(MyUniqueTagBatchSubscriber myUniqueTagBatchSubscriber)
public void unsubscribeFromRSSIMonitoringService(MyRSSIReadZoneSubscriber myRSSIReadZoneSubscriber)
public void subscribeToStableSetService(ReadZone readZone)
readZone
- the readZone to subscribepublic void subscribeToLimitStableSetService(ReadZone readZone)
readZone
- the readZone to subscribepublic void subscribeToReadZoneService(ReadZone readZone)
readZone
- the readzone to subscribepublic void subscribeToUniqueTagBatchIntervalService(ReadZone readZone)
readZone
- the readzone to subscribepublic void subscribeToRSSIMonitoringService(java.util.HashMap<java.lang.String,ReadZone> allReadZones)
allReadZones
- all the readzones to subscribepublic void initialize()
RifidiApp
initialize
in interface RifidiApp
initialize
in class AbstractRifidiApp
public void stopReaderSession(java.lang.String readerID)
readerID
-