Constructor and Description |
---|
QueueUser(String uid,
int position,
int time,
Date joinedAt) |
Modifier and Type | Method and Description |
---|---|
int |
getEstimatedRemainingTime() |
Date |
getQueueJoinTimestamp() |
int |
getQueuePosition() |
String |
getUserID() |
public QueueUser(String uid, int position, int time, Date joinedAt)
uid
- the user jid of the customer in the queueposition
- the position customer sits in the queuetime
- the estimate of how much longer the customer will be in the queue in secondsjoinedAt
- the timestamp of when the customer entered the queuepublic int getQueuePosition()
public int getEstimatedRemainingTime()
public Date getQueueJoinTimestamp()