[Asterisk-java-cvs] CVS: asterisk-java/src/java/net/sf/asterisk/manager/event QueueEntryEvent.java,1
Brought to you by:
srt
From: Stefan R. <sr...@us...> - 2005-08-27 09:36:33
|
Update of /cvsroot/asterisk-java/asterisk-java/src/java/net/sf/asterisk/manager/event In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24680/src/java/net/sf/asterisk/manager/event Modified Files: QueueEntryEvent.java Log Message: Added callerIdName attribute Index: QueueEntryEvent.java =================================================================== RCS file: /cvsroot/asterisk-java/asterisk-java/src/java/net/sf/asterisk/manager/event/QueueEntryEvent.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -p -r1.2 -r1.3 --- QueueEntryEvent.java 23 Feb 2005 22:50:58 -0000 1.2 +++ QueueEntryEvent.java 27 Aug 2005 09:36:24 -0000 1.3 @@ -17,12 +17,11 @@ package net.sf.asterisk.manager.event; /** - * A QueueEntryEvent is triggered in response to a QueueStatusAction and contains information about - * an entry in a queue.<br> + * A QueueEntryEvent is triggered in response to a QueueStatusAction and + * contains information about an entry in a queue.<br> * It is implemented in <code>apps/app_queue.c</code> * * @see net.sf.asterisk.manager.action.QueueStatusAction - * * @author srt * @version $Id$ */ @@ -36,6 +35,7 @@ public class QueueEntryEvent extends Res private Integer position; private String channel; private String callerId; + private String callerIdName; private Long wait; /** @@ -95,7 +95,9 @@ public class QueueEntryEvent extends Res } /** - * Returns the callerid of the channel of this entry. + * Returns the the Caller*ID number of this entry. + * + * @return the the Caller*ID number of this entry. */ public String getCallerId() { @@ -103,7 +105,9 @@ public class QueueEntryEvent extends Res } /** - * Sets the callerid of the channel of this entry. + * Sets the the Caller*ID number of this entry. + * + * @param callerId the the Caller*ID number of this entry. */ public void setCallerId(String callerId) { @@ -111,6 +115,28 @@ public class QueueEntryEvent extends Res } /** + * Returns the Caller*ID name of this entry. + * + * @return the Caller*ID name of this entry. + * @since 0.2 + */ + public String getCallerIdName() + { + return callerIdName; + } + + /** + * Sets the Caller*ID name of this entry. + * + * @param callerIdName the Caller*ID name of this entry. + * @since 0.2 + */ + public void setCallerIdName(String callerIdName) + { + this.callerIdName = callerIdName; + } + + /** * Returns the number of seconds this entry has spent in the queue. */ public Long getWait() |