net.sf.asterisk.manager.event
Class OriginateEvent

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.OriginateEvent
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
OriginateFailureEvent, OriginateSuccessEvent

public abstract class OriginateEvent
extends ResponseEvent

Abstract base class for events triggered in response to an OriginateAction.

Version:
$Id: OriginateEvent.java,v 1.3 2005/06/08 02:21:31 srt Exp $
Author:
srt
See Also:
OriginateAction, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
OriginateEvent(java.lang.Object source)
           
 
Method Summary
 java.lang.String getChannel()
          Returns the name of the channel to connect to the outgoing call.
 java.lang.String getContext()
          Returns the name of the context of the extension to connect to.
 java.lang.String getExten()
          Returns the the extension to connect to.
 java.lang.Integer getReason()
           
 java.lang.String getUniqueId()
           
 void setChannel(java.lang.String channel)
          Sets the name of the channel to connect to the outgoing call.
 void setContext(java.lang.String context)
          Sets the name of the context of the extension to connect to.
 void setExten(java.lang.String exten)
          Sets the the extension to connect to.
 void setReason(java.lang.Integer reason)
           
 void setUniqueId(java.lang.String uniqueId)
           
 
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

OriginateEvent

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

getChannel

public java.lang.String getChannel()
Returns the name of the channel to connect to the outgoing call.


setChannel

public void setChannel(java.lang.String channel)
Sets the name of the channel to connect to the outgoing call.


getContext

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


setContext

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


getExten

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


setExten

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


getReason

public java.lang.Integer getReason()

setReason

public void setReason(java.lang.Integer reason)

getUniqueId

public java.lang.String getUniqueId()

setUniqueId

public void setUniqueId(java.lang.String uniqueId)


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