org.asteriskjava.manager.event
Class AbstractMonitorEvent
java.lang.Object
java.util.EventObject
org.asteriskjava.manager.event.ManagerEvent
org.asteriskjava.manager.event.AbstractMonitorEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- MonitorStartEvent, MonitorStopEvent
public abstract class AbstractMonitorEvent
- extends ManagerEvent
Abstract base class for monitoring events.
Monitoring events are implemented in res/res_monitor.c
- Since:
- 1.0.0
- Version:
- $Id: AbstractMonitorEvent.java 1059 2008-05-20 01:09:56Z srt $
- Author:
- srt
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Method Summary |
java.lang.String |
getChannel()
Returns the name of the channel. |
java.lang.String |
getUniqueId()
Returns the unique id of the channel. |
void |
setChannel(java.lang.String channel)
|
void |
setUniqueId(java.lang.String uniqueId)
|
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 |
AbstractMonitorEvent
protected AbstractMonitorEvent(java.lang.Object source)
- Parameters:
source
-
getChannel
public java.lang.String getChannel()
- Returns the name of the channel.
- Returns:
- the name of the channel.
setChannel
public void setChannel(java.lang.String channel)
getUniqueId
public java.lang.String getUniqueId()
- Returns the unique id of the channel.
- Returns:
- the unique id of the channel.
setUniqueId
public void setUniqueId(java.lang.String uniqueId)
Copyright © 2004-2009 Stefan Reuter. All Rights Reserved.