[Asterisk-java-cvs] CVS: asterisk-java/src/java/net/sf/asterisk/manager/event JoinEvent.java,1.2,1.3
Brought to you by:
srt
From: Stefan R. <sr...@us...> - 2005-08-27 03:20:22
|
Update of /cvsroot/asterisk-java/asterisk-java/src/java/net/sf/asterisk/manager/event In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1080/src/java/net/sf/asterisk/manager/event Modified Files: JoinEvent.java Log Message: Added callerIdName attribute Index: JoinEvent.java =================================================================== RCS file: /cvsroot/asterisk-java/asterisk-java/src/java/net/sf/asterisk/manager/event/JoinEvent.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -p -r1.2 -r1.3 --- JoinEvent.java 23 Feb 2005 22:50:58 -0000 1.2 +++ JoinEvent.java 27 Aug 2005 03:20:13 -0000 1.3 @@ -31,6 +31,7 @@ public class JoinEvent extends QueueEven static final long serialVersionUID = 4961288508235470985L; protected String callerId; + protected String callerIdName; protected Integer position; /** @@ -42,8 +43,8 @@ public class JoinEvent extends QueueEven } /** - * Returns the caller id of the channel that joined the queue if set. If the channel has no - * caller id set "unknown" is returned. + * Returns the Caller*ID number of the channel that joined the queue if set. + * If the channel has no caller id set "unknown" is returned. */ public String getCallerId() { @@ -51,7 +52,7 @@ public class JoinEvent extends QueueEven } /** - * Sets the caller id of the channel that joined the queue. + * Sets the Caller*ID number of the channel that joined the queue. */ public void setCallerId(String callerId) { @@ -59,6 +60,25 @@ public class JoinEvent extends QueueEven } /** + * Returns the Caller*ID name of the channel that joined the queue if set. + * If the channel has no caller id set "unknown" is returned. + * @since 0.2 + */ + public String getCallerIdName() + { + return callerIdName; + } + + /** + * Sets the Caller*ID name of the channel that joined the queue. + * @since 0.2 + */ + public void setCallerIdName(String callerIdName) + { + this.callerIdName = callerIdName; + } + + /** * Returns the position of the joined channel in the queue. */ public Integer getPosition() |