net.sf.asterisk.manager.event
Class LinkageEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.sf.asterisk.manager.event.ManagerEvent
          extended by net.sf.asterisk.manager.event.LinkageEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
LinkEvent, UnlinkEvent

public abstract class LinkageEvent
extends ManagerEvent

Abstract base class providing common properties for LinkEvent and UnlinkEvent.

Version:
$Id: LinkageEvent.java,v 1.3 2005/08/27 03:01:58 srt Exp $
Author:
srt
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
LinkageEvent(java.lang.Object source)
           
 
Method Summary
 java.lang.String getCallerId1()
          Returns the Caller*Id number of the first channel.
 java.lang.String getCallerId2()
          Returns the Caller*Id number of the second channel.
 java.lang.String getChannel1()
          Returns the name of the first channel.
 java.lang.String getChannel2()
          Returns the name of the second channel.
 java.lang.String getUniqueId1()
          Returns the unique id of the first channel.
 java.lang.String getUniqueId2()
          Returns the unique id of the second channel.
 void setCallerId1(java.lang.String callerId1)
          Sets the Caller*Id number of the first channel.
 void setCallerId2(java.lang.String callerId2)
          Sets the Caller*Id number of the second channel.
 void setChannel1(java.lang.String channel1)
          Sets the name of the first channel.
 void setChannel2(java.lang.String channel2)
          Sets the name of the second channel.
 void setUniqueId1(java.lang.String uniqueId1)
          Sets the unique id of the first channel.
 void setUniqueId2(java.lang.String uniqueId2)
          Sets the unique id of the second channel.
 
Methods inherited from class net.sf.asterisk.manager.event.ManagerEvent
getDateReceived, getPrivilege, setDateReceived, setPrivilege, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LinkageEvent

public LinkageEvent(java.lang.Object source)
Parameters:
source -
Method Detail

getUniqueId1

public java.lang.String getUniqueId1()
Returns the unique id of the first channel.


setUniqueId1

public void setUniqueId1(java.lang.String uniqueId1)
Sets the unique id of the first channel.


getUniqueId2

public java.lang.String getUniqueId2()
Returns the unique id of the second channel.


setUniqueId2

public void setUniqueId2(java.lang.String uniqueId2)
Sets the unique id of the second channel.


getChannel1

public java.lang.String getChannel1()
Returns the name of the first channel.


setChannel1

public void setChannel1(java.lang.String channel1)
Sets the name of the first channel.


getChannel2

public java.lang.String getChannel2()
Returns the name of the second channel.


setChannel2

public void setChannel2(java.lang.String channel2)
Sets the name of the second channel.


getCallerId1

public java.lang.String getCallerId1()
Returns the Caller*Id number of the first channel.

Returns:
the Caller*Id number of the first channel.
Since:
0.2

setCallerId1

public void setCallerId1(java.lang.String callerId1)
Sets the Caller*Id number of the first channel.

Parameters:
callerId1 - the Caller*Id number of the first channel.
Since:
0.2

getCallerId2

public java.lang.String getCallerId2()
Returns the Caller*Id number of the second channel.

Returns:
the Caller*Id number of the second channel.
Since:
0.2

setCallerId2

public void setCallerId2(java.lang.String callerId2)
Sets the Caller*Id number of the second channel.

Parameters:
callerId1 - the Caller*Id number of the second channel.
Since:
0.2


Copyright © 2004-2005 Stefan Reuter. All Rights Reserved.