public class QueueUser
extends java.lang.Object
Constructor and Description |
---|
QueueUser(java.lang.String uid,
int position,
int time,
java.util.Date joinedAt) |
Modifier and Type | Method and Description |
---|---|
int |
getEstimatedRemainingTime() |
java.util.Date |
getQueueJoinTimestamp() |
int |
getQueuePosition() |
java.lang.String |
getUserID() |
public QueueUser(java.lang.String uid, int position, int time, java.util.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 java.lang.String getUserID()
public int getQueuePosition()
public int getEstimatedRemainingTime()
public java.util.Date getQueueJoinTimestamp()