public class RifidiMqttApp extends AbstractRifidiApp
readZones
LAZY_START
Constructor and Description |
---|
RifidiMqttApp(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.Float |
getDepartureTime() |
MqttClient |
getMqttClient() |
int |
getMqttQos() |
ReadZoneMonitoringService |
getReadZoneMonitoringService() |
UniqueTagBatchIntervalService |
getUniqueTagBatchIntervalService() |
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 |
setDepartureTime(java.lang.Float departureTime) |
void |
setMqttClient(MqttClient mqttClient) |
void |
setMqttQos(int mqttQos) |
void |
setReaderDAO(ReaderDAO readerDAO)
Inject the reader DAO to allow this app to stop the reader.
|
void |
setReadZoneMonitoringService(ReadZoneMonitoringService readZoneMonitoringService) |
void |
setUniqueTagBatchIntervalService(UniqueTagBatchIntervalService uniqueTagBatchIntervalService) |
void |
stopReaderSession(java.lang.String readerID)
Stop any currently running sessions for the given reader ID.
|
void |
subscribeToReadZoneService(ReadZone readZone) |
void |
unsubscribeFromReadZoneService(MyReadZoneSubscriber myReadZoneSubscriber) |
compareTo, equals, getGroup, getName, getState, hashCode, lazyStart, setAppProperties, setBundleContext, setEsperService, start, stop, toString
public RifidiMqttApp(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 ReadZoneMonitoringService getReadZoneMonitoringService()
public void setReadZoneMonitoringService(ReadZoneMonitoringService readZoneMonitoringService)
readZoneMonitoringService
- the readZoneMonitoringService to setpublic UniqueTagBatchIntervalService getUniqueTagBatchIntervalService()
public void setUniqueTagBatchIntervalService(UniqueTagBatchIntervalService uniqueTagBatchIntervalService)
uniqueTagBatchIntervalService
- the uniqueTagBatchIntervalService to setpublic void setReaderDAO(ReaderDAO readerDAO)
readerDAO
- public java.lang.Float getDepartureTime()
public void setDepartureTime(java.lang.Float departureTime)
departureTime
- the departureTime to setpublic void _start()
AbstractRifidiApp
public void _stop()
AbstractRifidiApp
public void unsubscribeFromReadZoneService(MyReadZoneSubscriber myReadZoneSubscriber)
public void subscribeToReadZoneService(ReadZone readZone)
readZone
- the readzone to subscribepublic void initialize()
RifidiApp
initialize
in interface RifidiApp
initialize
in class AbstractRifidiApp
public void stopReaderSession(java.lang.String readerID)
readerID
-