public class TrackingSubscriber extends java.lang.Object implements ReadZoneSubscriber
Constructor and Description |
---|
TrackingSubscriber(java.util.Map<java.lang.String,java.lang.String> properties,
java.lang.String readzone)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
tagArrived(TagReadEvent tag)
The method that will be called when an arrival event has happened.
|
void |
tagDeparted(TagReadEvent tag)
The method that will be called when a departed event has happened.
|
public TrackingSubscriber(java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String readzone)
conn
- The database connectionpublic void tagArrived(TagReadEvent tag)
ReadZoneSubscriber
tagArrived
in interface ReadZoneSubscriber
public void tagDeparted(TagReadEvent tag)
ReadZoneSubscriber
tagDeparted
in interface ReadZoneSubscriber