Constructor and Description |
---|
QueueUser(String uid,
int position,
int time,
Date joinedAt)
Queue user.
|
Modifier and Type | Method and Description |
---|---|
int |
getEstimatedRemainingTime()
Get the estimated remaining time.
|
Date |
getQueueJoinTimestamp()
Get queue join timestamp.
|
int |
getQueuePosition()
Get queue position.
|
String |
getUserID()
Get user id.
|
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()