public class BridgeEvent extends ManagerEvent
source
Constructor and Description |
---|
BridgeEvent(BridgeEvent event) |
Modifier and Type | Method and Description |
---|---|
org.asteriskjava.pbx.asterisk.wrap.events.BridgeEvent.BridgeState |
getBridgeState() |
Channel |
getChannel1() |
Channel |
getChannel2() |
boolean |
isLink()
Returns whether the two channels have been linked.
|
boolean |
isUnlink()
Returns whether the two channels have been unlinked.
|
String |
toString() |
getSource
public BridgeEvent(BridgeEvent event) throws InvalidChannelName
InvalidChannelName
public org.asteriskjava.pbx.asterisk.wrap.events.BridgeEvent.BridgeState getBridgeState()
public Channel getChannel1()
public Channel getChannel2()
public boolean isLink()
true
the two channels have been linked,
false
if they have been unlinked.public boolean isUnlink()
true
the two channels have been unlinked,
false
if they have been linked.public String toString()
toString
in class EventObject
Copyright © 2004–2024. All rights reserved.