Asterisk-Java

org.asteriskjava.manager.event
Class CoreShowChannelEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.asteriskjava.manager.event.ManagerEvent
          extended by org.asteriskjava.manager.event.ResponseEvent
              extended by org.asteriskjava.manager.event.CoreShowChannelEvent
All Implemented Interfaces:
java.io.Serializable

public class CoreShowChannelEvent
extends ResponseEvent

A CoreShowChannelEvent is triggered for each active channel in response to a CoreShowChannelsAction.

Since:
1.0.0
Version:
$Id: CoreShowChannelEvent.java 1348 2009-07-10 13:48:31Z srt $
Author:
sebastian gutierrez
See Also:
CoreShowChannelsAction, Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CoreShowChannelEvent(java.lang.Object source)
           
 
Method Summary
 java.lang.String getAccountcode()
          Returns the Account code
 java.lang.String getApplication()
          Returns the Aplication is runnning that channel at that time
 java.lang.String getApplicationdata()
          Returns the Aplication Data is runnning that channel at that time this is the parameters passed to that dialplan application
 java.lang.String getBridgedChannel()
          Returns the Bridged Channel if is bridged to one
 java.lang.String getBridgeduniqueid()
          Returns the Bridged UniqueID
 java.lang.String getCalleridnum()
          Returns the CallerID
 java.lang.String getChannel()
          Returns the Originate Channel name
 java.lang.String getChannelState()
          Returns the channel state
 java.lang.String getChannelstatedesc()
          Returns the Channel state description (RING,...)
 java.lang.String getContext()
          Returns the Context the channel is
 java.lang.String getDuration()
          Returns the duration of the call
 java.lang.String getExtension()
          Returns the Extension dialed
 java.lang.String getPriority()
          Returns the Priority the channel actualy is
 java.lang.String getUniqueid()
          Returns the Uniqueid
 void setAccountcode(java.lang.String accountcode)
           
 void setApplication(java.lang.String application)
           
 void setApplicationdata(java.lang.String applicationdata)
           
 void setBridgedChannel(java.lang.String bridgedChannel)
           
 void setBridgeduniqueid(java.lang.String bridgeduniqueid)
           
 void setCalleridnum(java.lang.String calleridnum)
           
 void setChannel(java.lang.String channel)
           
 void setChannelState(java.lang.String ChannelState)
           
 void setChannelstatedesc(java.lang.String channelstatedesc)
           
 void setContext(java.lang.String context)
           
 void setDuration(java.lang.String duration)
           
 void setExtension(java.lang.String extension)
           
 void setPriority(java.lang.String priority)
           
 void setUniqueid(java.lang.String uniqueid)
           
 
Methods inherited from class org.asteriskjava.manager.event.ResponseEvent
getActionId, getInternalActionId, setActionId, setInternalActionId
 
Methods inherited from class org.asteriskjava.manager.event.ManagerEvent
appendPropertyIfNotNull, getDateReceived, getFile, getFunc, getLine, getPrivilege, getSequenceNumber, getServer, getTimestamp, setDateReceived, setFile, setFunc, setLine, setPrivilege, setSequenceNumber, setServer, setTimestamp, 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

CoreShowChannelEvent

public CoreShowChannelEvent(java.lang.Object source)
Method Detail

getChannelState

public java.lang.String getChannelState()
Returns the channel state

Returns:
channel state

setChannelState

public void setChannelState(java.lang.String ChannelState)

getAccountcode

public java.lang.String getAccountcode()
Returns the Account code

Returns:
accountcode

setAccountcode

public void setAccountcode(java.lang.String accountcode)

getApplication

public java.lang.String getApplication()
Returns the Aplication is runnning that channel at that time

Returns:
aplication name

setApplication

public void setApplication(java.lang.String application)

getApplicationdata

public java.lang.String getApplicationdata()
Returns the Aplication Data is runnning that channel at that time this is the parameters passed to that dialplan application

Returns:
aplication data

setApplicationdata

public void setApplicationdata(java.lang.String applicationdata)

getBridgedChannel

public java.lang.String getBridgedChannel()
Returns the Bridged Channel if is bridged to one

Returns:
Channel name

setBridgedChannel

public void setBridgedChannel(java.lang.String bridgedChannel)

getBridgeduniqueid

public java.lang.String getBridgeduniqueid()
Returns the Bridged UniqueID

Returns:
uniqueid

setBridgeduniqueid

public void setBridgeduniqueid(java.lang.String bridgeduniqueid)

getCalleridnum

public java.lang.String getCalleridnum()
Returns the CallerID

Returns:
callerid

setCalleridnum

public void setCalleridnum(java.lang.String calleridnum)

getChannel

public java.lang.String getChannel()
Returns the Originate Channel name

Returns:
Channel name

setChannel

public void setChannel(java.lang.String channel)

getChannelstatedesc

public java.lang.String getChannelstatedesc()
Returns the Channel state description (RING,...)

Returns:
description

setChannelstatedesc

public void setChannelstatedesc(java.lang.String channelstatedesc)

getContext

public java.lang.String getContext()
Returns the Context the channel is

Returns:
context

setContext

public void setContext(java.lang.String context)

getDuration

public java.lang.String getDuration()
Returns the duration of the call

Returns:
duration

setDuration

public void setDuration(java.lang.String duration)

getExtension

public java.lang.String getExtension()
Returns the Extension dialed

Returns:
extension

setExtension

public void setExtension(java.lang.String extension)

getPriority

public java.lang.String getPriority()
Returns the Priority the channel actualy is

Returns:
priority

setPriority

public void setPriority(java.lang.String priority)

getUniqueid

public java.lang.String getUniqueid()
Returns the Uniqueid

Returns:
uniqueid

setUniqueid

public void setUniqueid(java.lang.String uniqueid)

Asterisk-Java

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