public class JoinActivityImpl extends ActivityHelper<JoinActivity> implements JoinActivity
Constructor and Description |
---|
JoinActivityImpl(Call lhsCall,
Call.OperandChannel originatingOperand,
Call rhsCall,
Call.OperandChannel acceptingOperand,
CallDirection direction,
ActivityCallback<JoinActivity> listener)
Joins a specific channel from this call with a specific channel from
another call which results in a new Call object being created.
|
Modifier and Type | Method and Description |
---|---|
boolean |
doActivity() |
Call |
getJoinedCall() |
ListenerPriority |
getPriority() |
void |
onManagerEvent(ManagerEvent event) |
HashSet<Class<? extends ManagerEvent>> |
requiredEvents() |
getLastException, isSuccess, progess, run, setLastException, startActivity, validateChannel
getDumpRateLimit, withLock
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLastException, isSuccess
public JoinActivityImpl(Call lhsCall, Call.OperandChannel originatingOperand, Call rhsCall, Call.OperandChannel acceptingOperand, CallDirection direction, ActivityCallback<JoinActivity> listener)
lhsCall
- one of the calls we are joiningoriginatingOperand
- the channel from lhsCall call that will
participate in the join as the originating ChannelrhsCall
- the other call we are joining.acceptingOperand
- the channel from the rhsCall that will
participate in the join as the accepting channel.PBXException
public boolean doActivity() throws PBXException
doActivity
in class ActivityHelper<JoinActivity>
PBXException
public HashSet<Class<? extends ManagerEvent>> requiredEvents()
public void onManagerEvent(ManagerEvent event)
public ListenerPriority getPriority()
getPriority
in class ActivityHelper<JoinActivity>
public Call getJoinedCall()
getJoinedCall
in interface JoinActivity
Copyright © 2004–2022. All rights reserved.