public class DialLocalToAgiActivity extends EventListenerBaseClass implements Runnable, Activity
EventListenerBaseClass.AutoClose| Constructor and Description |
|---|
DialLocalToAgiActivity(EndPoint from,
CallerID fromCallerID,
ActivityCallback<DialLocalToAgiActivity> callback,
Map<String,String> channelVarsToSet) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort(String reason) |
Channel |
getChannel1() |
Channel |
getChannel2() |
Throwable |
getLastException()
If an activity fails the getLastError contains a description of the cause
of the error.
|
ListenerPriority |
getPriority()
Set the listeners priority.
|
boolean |
isSuccess()
Set to true once the activity has suceeded.
|
void |
onManagerEvent(ManagerEvent event)
Called for each manager event that the connection receives for which the
filterEvent returned true.
|
HashSet<Class<? extends ManagerEvent>> |
requiredEvents()
Called whenever the listener is first added and any time any listener is
removed to refresh the list of required events.
|
void |
run() |
close, getName, startListenerpublic DialLocalToAgiActivity(EndPoint from, CallerID fromCallerID, ActivityCallback<DialLocalToAgiActivity> callback, Map<String,String> channelVarsToSet)
public void abort(String reason)
public void onManagerEvent(ManagerEvent event)
FilteredManagerListeneronManagerEvent in interface FilteredManagerListener<ManagerEvent>public HashSet<Class<? extends ManagerEvent>> requiredEvents()
FilteredManagerListenerrequiredEvents in interface FilteredManagerListener<ManagerEvent>public ListenerPriority getPriority()
FilteredManagerListenergetPriority in interface FilteredManagerListener<ManagerEvent>public Throwable getLastException()
ActivitygetLastException in interface Activitypublic boolean isSuccess()
Activitypublic Channel getChannel1()
public Channel getChannel2()
Copyright © 2004–2017. All rights reserved.