public class NorthwindReadZoneSubscriber extends java.lang.Object implements ReadZoneSubscriber
Constructor and Description |
---|
NorthwindReadZoneSubscriber(NorthwindApp app,
java.lang.String location,
boolean isDockDoor)
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 NorthwindReadZoneSubscriber(NorthwindApp app, java.lang.String location, boolean isDockDoor)
app
- The a0pplication which we need to send any events generated.location
- A string representation of the location this subscriber is
listening for events on.isDockDoor
- Is this location the dock door? If not, it is the weigh
station. This is used for determining the type of event to
send out.public void tagArrived(TagReadEvent tag)
ReadZoneSubscriber
tagArrived
in interface ReadZoneSubscriber
public void tagDeparted(TagReadEvent tag)
ReadZoneSubscriber
tagDeparted
in interface ReadZoneSubscriber