public abstract class OriginateBaseClass extends EventListenerBaseClass
EventListenerBaseClass.AutoClose
Modifier and Type | Field and Description |
---|---|
protected static Log |
logger |
static String |
NJR_ORIGINATE_ID |
Modifier | Constructor and Description |
---|---|
protected |
OriginateBaseClass(NewChannelListener listener,
Channel monitor,
Channel monitor2) |
Modifier and Type | Method and Description |
---|---|
void |
onManagerEvent(ManagerEvent event)
It is important that this method is synchronised as there is some
interaction between the events and we need to ensure we process one at a
time.
|
protected OriginateResult |
originate(EndPoint local,
EndPoint target,
HashMap<String,String> myVars,
CallerID callerID,
Integer timeout,
boolean hideCallerId,
String context) |
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.
|
close, getName, startListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPriority
public static final String NJR_ORIGINATE_ID
protected static final Log logger
protected OriginateBaseClass(NewChannelListener listener, Channel monitor, Channel monitor2)
protected OriginateResult originate(EndPoint local, EndPoint target, HashMap<String,String> myVars, CallerID callerID, Integer timeout, boolean hideCallerId, String context)
local
- target
- myVars
- callerId
- the caller id to set when initiating this call.hideCallerId
- context
- public HashSet<Class<? extends ManagerEvent>> requiredEvents()
FilteredManagerListener
public void onManagerEvent(ManagerEvent event)
Copyright © 2004–2017. All rights reserved.