public class SplitActivityImpl extends ActivityHelper<SplitActivity> implements SplitActivity
Constructor and Description |
---|
SplitActivityImpl(Call callToSplit,
ActivityCallback<SplitActivity> listener)
Splits a call by moving each of its two channels into the Activity agi.
|
Modifier and Type | Method and Description |
---|---|
boolean |
doActivity() |
Call |
getLHSCall()
After a call has been split we get two new calls.
|
ListenerPriority |
getPriority() |
Call |
getRHSCall()
After a call has been split we get two new calls.
|
void |
onManagerEvent(ManagerEvent event) |
HashSet<Class<? extends ManagerEvent>> |
requiredEvents() |
getLastException, isSuccess, progess, run, setLastException, startActivity, validateChannel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLastException, isSuccess
public SplitActivityImpl(Call callToSplit, ActivityCallback<SplitActivity> listener)
callToSplit
- The call to splitlistener
- public boolean doActivity() throws PBXException
doActivity
in class ActivityHelper<SplitActivity>
PBXException
public HashSet<Class<? extends ManagerEvent>> requiredEvents()
public void onManagerEvent(ManagerEvent event)
public ListenerPriority getPriority()
getPriority
in class ActivityHelper<SplitActivity>
public Call getLHSCall()
getLHSCall
in interface SplitActivity
public Call getRHSCall()
getRHSCall
in interface SplitActivity
Copyright © 2004–2020. All rights reserved.