public interface AsteriskQueueEntry extends LiveObject
PropertyChangeEvents are fired for the following properties:
Modifier and Type | Field and Description |
---|---|
static int |
POSITION_UNDETERMINED |
static String |
PROPERTY_POSITION |
static String |
PROPERTY_REPORTED_POSITION |
static String |
PROPERTY_STATE |
Modifier and Type | Method and Description |
---|---|
AsteriskChannel |
getChannel()
Returns the channel associated with this entry.
|
String |
getChannelName()
Returns the name of the channel associated with this entry.
|
Date |
getDateJoined()
Returns the date this member joined the Queue.
|
Date |
getDateLeft()
Returns the date this member left the queue room.
|
int |
getPosition()
Returns the position of this queue entry in the queue.
|
AsteriskQueue |
getQueue()
Returns the Queue this member joined.
|
QueueEntryState |
getState()
Returns the lifecycle status of this AsteriskQueueEntry.
|
addPropertyChangeListener, addPropertyChangeListener, getLastUpdateMillis, getServer, removePropertyChangeListener, removePropertyChangeListener
static final String PROPERTY_STATE
static final String PROPERTY_POSITION
static final String PROPERTY_REPORTED_POSITION
static final int POSITION_UNDETERMINED
Date getDateJoined()
This property is immutable.
Date getDateLeft()
This property is null
as long as the user is
in state QueueEntryState.JOINED
and set to date the
member left when entering QueueEntryState.LEFT
.
null
if the user did not yet leave.QueueEntryState getState()
Initially the user is in state QueueEntryState.JOINED
.
AsteriskQueue getQueue()
This property is immutable.
AsteriskChannel getChannel()
This property is immutable.
String getChannelName()
Comodity bridge, don't duplicate channel name as it can be renamed.
int getPosition()
Copyright © 2004–2022. All rights reserved.