net.sf.asterisk.manager.event
Class ExtensionStatusEvent

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

public class ExtensionStatusEvent
extends ManagerEvent

An ExtensionStatusEvent is triggered when the state of an extension changes.
It is implemented in manager.c

Version:
$Id: ExtensionStatusEvent.java,v 1.2 2005/02/23 22:50:58 srt Exp $
Author:
srt
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ExtensionStatusEvent(java.lang.Object source)
           
 
Method Summary
 java.lang.String getContext()
          Returns the context of the extension.
 java.lang.String getExten()
          Returns the extension.
 java.lang.Integer getStatus()
          Returns the state of the extension.
 void setContext(java.lang.String context)
          Sets the context of the extension.
 void setExten(java.lang.String exten)
          Sets the extension.
 void setStatus(java.lang.Integer status)
          Sets the state of the extension.
 
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

ExtensionStatusEvent

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

getExten

public java.lang.String getExten()
Returns the extension.


setExten

public void setExten(java.lang.String exten)
Sets the extension.


getContext

public java.lang.String getContext()
Returns the context of the extension.


setContext

public void setContext(java.lang.String context)
Sets the context of the extension.


getStatus

public java.lang.Integer getStatus()
Returns the state of the extension.


setStatus

public void setStatus(java.lang.Integer status)
Sets the state of the extension.



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