|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject net.sf.asterisk.manager.event.ManagerEvent net.sf.asterisk.manager.event.RenameEvent
public class RenameEvent
A RenameEvent is triggered when the name of a channel is changed.
It is implemented in channel.c
Field Summary | |
---|---|
protected java.lang.String |
newname
New name of the channel after renaming occured. |
protected java.lang.String |
oldname
Old name of the channel before renaming occured. |
protected java.lang.String |
uniqueId
Unique id of the channel. |
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
RenameEvent(java.lang.Object source)
|
Method Summary | |
---|---|
java.lang.String |
getNewname()
Returns the new name of the channel. |
java.lang.String |
getOldname()
Returns the old name of the channel. |
java.lang.String |
getUniqueId()
Returns the unique id of the channel. |
void |
setNewname(java.lang.String newname)
Sets the new name of the channel. |
void |
setOldname(java.lang.String oldname)
Sets the old name of the channel. |
void |
setUniqueId(java.lang.String uniqueId)
Sets the unique id of the channel. |
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 |
Field Detail |
---|
protected java.lang.String oldname
protected java.lang.String newname
protected java.lang.String uniqueId
Constructor Detail |
---|
public RenameEvent(java.lang.Object source)
source
- Method Detail |
---|
public final java.lang.String getNewname()
public final void setNewname(java.lang.String newname)
newname
- the new name of the channel.public final java.lang.String getOldname()
public final void setOldname(java.lang.String oldname)
oldname
- the old name of the channel.public final java.lang.String getUniqueId()
public final void setUniqueId(java.lang.String uniqueId)
uniqueId
- the unique id of the channel.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |