public class ThingworxSubscriber extends java.lang.Object implements ReadZoneSubscriber
Constructor and Description |
---|
ThingworxSubscriber(ConnectedThingClient client)
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 ThingworxSubscriber(ConnectedThingClient client)
conn
- The database connectionpublic void tagArrived(TagReadEvent tag)
ReadZoneSubscriber
tagArrived
in interface ReadZoneSubscriber
public void tagDeparted(TagReadEvent tag)
ReadZoneSubscriber
tagDeparted
in interface ReadZoneSubscriber