public class OccupantAdapter extends Object implements OccupantObserver
| Constructor and Description |
|---|
OccupantAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
occupantEntered(OccupantInfo info)
Called when a body enters the place.
|
void |
occupantLeft(OccupantInfo info)
Called when a body leaves the place.
|
void |
occupantUpdated(OccupantInfo oinfo,
OccupantInfo info)
Called when an occupant is updated.
|
public void occupantEntered(OccupantInfo info)
OccupantObserveroccupantEntered in interface OccupantObserverpublic void occupantLeft(OccupantInfo info)
OccupantObserveroccupantLeft in interface OccupantObserverpublic void occupantUpdated(OccupantInfo oinfo, OccupantInfo info)
OccupantObserveroccupantUpdated in interface OccupantObserveroinfo - the occupant info prior to the update.info - the newly update info record.Copyright © 2015. All rights reserved.