[Asterisk-java-cvs] CVS: asterisk-java/src/java/net/sf/asterisk/manager/event LinkageEvent.java,1.2,
Brought to you by:
srt
From: Stefan R. <sr...@us...> - 2005-08-27 03:02:06
|
Update of /cvsroot/asterisk-java/asterisk-java/src/java/net/sf/asterisk/manager/event In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30403/src/java/net/sf/asterisk/manager/event Modified Files: LinkageEvent.java Log Message: Added callerId1 and callerId2 attributes Index: LinkageEvent.java =================================================================== RCS file: /cvsroot/asterisk-java/asterisk-java/src/java/net/sf/asterisk/manager/event/LinkageEvent.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -p -r1.2 -r1.3 --- LinkageEvent.java 23 Feb 2005 22:50:58 -0000 1.2 +++ LinkageEvent.java 27 Aug 2005 03:01:58 -0000 1.3 @@ -17,7 +17,8 @@ package net.sf.asterisk.manager.event; /** - * Abstract base class providing common properties for LinkEvent and UnlinkEvent. + * Abstract base class providing common properties for LinkEvent and + * UnlinkEvent. * * @author srt * @version $Id$ @@ -33,6 +34,8 @@ public abstract class LinkageEvent exten private String uniqueId2; private String channel1; private String channel2; + private String callerId1; + private String callerId2; /** * @param source @@ -105,4 +108,48 @@ public abstract class LinkageEvent exten { this.channel2 = channel2; } + + /** + * Returns the Caller*Id number of the first channel. + * + * @return the Caller*Id number of the first channel. + * @since 0.2 + */ + public String getCallerId1() + { + return callerId1; + } + + /** + * Sets the Caller*Id number of the first channel. + * + * @param callerId1 the Caller*Id number of the first channel. + * @since 0.2 + */ + public void setCallerId1(String callerId1) + { + this.callerId1 = callerId1; + } + + /** + * Returns the Caller*Id number of the second channel. + * + * @return the Caller*Id number of the second channel. + * @since 0.2 + */ + public String getCallerId2() + { + return callerId2; + } + + /** + * Sets the Caller*Id number of the second channel. + * + * @param callerId1 the Caller*Id number of the second channel. + * @since 0.2 + */ + public void setCallerId2(String callerId2) + { + this.callerId2 = callerId2; + } } |