net.sf.asterisk.manager.event
Class ZapShowChannelsEvent

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.ZapShowChannelsEvent
All Implemented Interfaces:
java.io.Serializable

public class ZapShowChannelsEvent
extends ResponseEvent

A ZapShowChannelsEvent is triggered in response to a ZapShowChannelsAction and shows the state of a zap channel.

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

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ZapShowChannelsEvent(java.lang.Object source)
           
 
Method Summary
 java.lang.String getAlarm()
          Returns the alarm state of this zap channel.
This may be one of Red Alarm Yellow Alarm Blue Alarm Recovering Loopback Not Open No Alarm
 java.lang.Integer getChannel()
          Returns the number of this zap channel.
 java.lang.String getContext()
          Returns the context of this zap channel as defined in zapata.conf.
 java.lang.String getSignalling()
          Returns the signalling of this zap channel.
Possible values are: E & M Immediate E & M Wink E & M E1 Feature Group D (DTMF) Feature Group D (MF) Feature Group B (MF) E911 (MF) FXS Loopstart FXS Groundstart FXS Kewlstart FXO Loopstart FXO Groundstart FXO Kewlstart PRI Signalling R2 Signalling SF (Tone) Signalling Immediate SF (Tone) Signalling Wink SF (Tone) Signalling with Feature Group D (DTMF) SF (Tone) Signalling with Feature Group D (MF) SF (Tone) Signalling with Feature Group B (MF) GR-303 Signalling with FXOKS GR-303 Signalling with FXSKS Pseudo Signalling
 void setAlarm(java.lang.String alarm)
          Sets the alarm state of this zap channel.
 void setChannel(java.lang.Integer channel)
          Sets the number of this zap channel.
 void setContext(java.lang.String context)
          Sets the context of this zap channel.
 void setSignalling(java.lang.String signalling)
          Sets the signalling of this zap 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

ZapShowChannelsEvent

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

getChannel

public java.lang.Integer getChannel()
Returns the number of this zap channel.


setChannel

public void setChannel(java.lang.Integer channel)
Sets the number of this zap channel.


getSignalling

public java.lang.String getSignalling()
Returns the signalling of this zap channel.
Possible values are:


setSignalling

public void setSignalling(java.lang.String signalling)
Sets the signalling of this zap channel.


getContext

public java.lang.String getContext()
Returns the context of this zap channel as defined in zapata.conf.


setContext

public void setContext(java.lang.String context)
Sets the context of this zap channel.


getAlarm

public java.lang.String getAlarm()
Returns the alarm state of this zap channel.
This may be one of


setAlarm

public void setAlarm(java.lang.String alarm)
Sets the alarm state of this zap channel.



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