net.sf.asterisk.manager.event
Class StatusEvent

java.lang.Object
  extended by java.util.EventObject
      extended by net.sf.asterisk.manager.event.ManagerEvent
          extended by net.sf.asterisk.manager.event.ResponseEvent
              extended by net.sf.asterisk.manager.event.StatusEvent
All Implemented Interfaces:
java.io.Serializable

public class StatusEvent
extends ResponseEvent

A StatusEvent is triggered for each active channel in response to a StatusAction.

Version:
$Id: StatusEvent.java,v 1.3 2005/03/16 09:49:49 srt Exp $
Author:
srt
See Also:
StatusAction, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
StatusEvent(java.lang.Object source)
           
 
Method Summary
 java.lang.String getAccount()
          Returns the account code of this channel.
 java.lang.String getCallerId()
          Returns the Caller*ID of this channel.
 java.lang.String getCallerIdName()
          Returns the Caller*ID Name of this channel.
 java.lang.String getChannel()
          Returns the name of this channel.
 java.lang.String getContext()
           
 java.lang.String getExtension()
           
 java.lang.String getLink()
          Returns the name of the linked channel if this channel is bridged.
 java.lang.Integer getPriority()
           
 java.lang.Integer getSeconds()
          Returns the number of elapsed seconds.
 java.lang.String getState()
           
 java.lang.String getUniqueId()
          Returns the unique id of this channel.
 void setAccount(java.lang.String account)
          Sets the account code of this channel.
 void setCallerId(java.lang.String callerId)
          Sets the Caller*ID of this channel.
 void setCallerIdName(java.lang.String callerIdName)
          Sets the Caller*ID Name of this channel.
 void setChannel(java.lang.String channel)
          Sets the name of this channel.
 void setContext(java.lang.String context)
           
 void setExtension(java.lang.String extension)
           
 void setLink(java.lang.String link)
          Sets the name of the linked channel.
 void setPriority(java.lang.Integer priority)
           
 void setSeconds(java.lang.Integer seconds)
          Sets the number of elapsed seconds.
 void setState(java.lang.String state)
           
 void setUniqueId(java.lang.String uniqueId)
          Sets the unique id of this channel.
 
Methods inherited from class net.sf.asterisk.manager.event.ResponseEvent
getActionId, getInternalActionId, setActionId, setInternalActionId
 
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

StatusEvent

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

getChannel

public java.lang.String getChannel()
Returns the name of this channel.


setChannel

public void setChannel(java.lang.String channel)
Sets the name of this channel.


getCallerId

public java.lang.String getCallerId()
Returns the Caller*ID of this channel.


setCallerId

public void setCallerId(java.lang.String callerId)
Sets the Caller*ID of this channel.


getCallerIdName

public java.lang.String getCallerIdName()
Returns the Caller*ID Name of this channel.


setCallerIdName

public void setCallerIdName(java.lang.String callerIdName)
Sets the Caller*ID Name of this channel.


getAccount

public java.lang.String getAccount()
Returns the account code of this channel.


setAccount

public void setAccount(java.lang.String account)
Sets the account code of this channel.


getState

public java.lang.String getState()

setState

public void setState(java.lang.String state)

getContext

public java.lang.String getContext()

setContext

public void setContext(java.lang.String context)

getExtension

public java.lang.String getExtension()

setExtension

public void setExtension(java.lang.String extension)

getPriority

public java.lang.Integer getPriority()

setPriority

public void setPriority(java.lang.Integer priority)

getSeconds

public java.lang.Integer getSeconds()
Returns the number of elapsed seconds.


setSeconds

public void setSeconds(java.lang.Integer seconds)
Sets the number of elapsed seconds.


getLink

public java.lang.String getLink()
Returns the name of the linked channel if this channel is bridged.


setLink

public void setLink(java.lang.String link)
Sets the name of the linked channel.


getUniqueId

public java.lang.String getUniqueId()
Returns the unique id of this channel.


setUniqueId

public void setUniqueId(java.lang.String uniqueId)
Sets the unique id of this channel.



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