|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AsteriskQueueEntry
Represents a member of a queue.
PropertyChangeEvents are fired for the following properties:
Field Summary | |
---|---|
static int |
POSITION_UNDETERMINED
|
static java.lang.String |
PROPERTY_POSITION
|
static java.lang.String |
PROPERTY_REPORTED_POSITION
|
static java.lang.String |
PROPERTY_STATE
|
Method Summary | |
---|---|
AsteriskChannel |
getChannel()
Returns the channel associated with this entry. |
java.lang.String |
getChannelName()
Returns the name of the channel associated with this entry. |
java.util.Date |
getDateJoined()
Returns the date this member joined the Queue. |
java.util.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. |
Methods inherited from interface org.asteriskjava.live.LiveObject |
---|
addPropertyChangeListener, addPropertyChangeListener, getServer, removePropertyChangeListener, removePropertyChangeListener |
Field Detail |
---|
static final java.lang.String PROPERTY_STATE
static final java.lang.String PROPERTY_POSITION
static final java.lang.String PROPERTY_REPORTED_POSITION
static final int POSITION_UNDETERMINED
Method Detail |
---|
java.util.Date getDateJoined()
This property is immutable.
java.util.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.
java.lang.String getChannelName()
Comodity bridge, don't duplicate channel name as it can be renamed.
int getPosition()
|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |