Interface java.telephony.callcenter.CallCenterAddress
All Packages Class Hierarchy This Package Previous Next Index
Interface java.telephony.callcenter.CallCenterAddress
- public interface CallCenterAddress
- extends Object
- extends Address
The CallCenterAddress interface models call center addresses like
ACD groups and ACD Managers.
ACDAddress which models an ACD group, extends the CallcenterAddress.
ACDMangerAddress which models an ACD Manager, extends the CallcenterAddress.
This interface augments the core Address class to add a CallObserver.
The CallObserver reports all Call-related state changes as events as
well as all types of connection-related state changes as events for those
Connections and TerminalConnections associated with the Call.
The Call object will report events to this CallObserver object
only after the Call has involved Address. Once the Call has involved
this Address, the events will be reported on the CallObserver.
-
addCallObserver(CallObserver, boolean)
- Adds a call observer to this CallCenterAddress.
addCallObserver
public abstract void addCallObserver(CallObserver observer,
boolean remain) throws ResourceUnavailableException, PlatformException
- Adds a call observer to this CallCenterAddress. This differs from the
Address.addCallObserver() method in that is takes a boolean
argument. If true, the CallObserver will remain on the Call object
for the lifetime of the Call. If false, the CallObserver will remain on
the Call object only during the time when this Address is part of the
telephone Call. Therefore, addCallObserver(false) in equivalent to that
method found in the core package.
If an instance of the CallObserver has already been added to an Address,
repeated attempts to add the same CallObserver will silently fail. That
is, multiple instances of the same observer will not be added nor will
an exception be thrown.
There are no pre-conditions for this method.
The post-condition predicates for this method are:
- observer is an element of address.getCallObservers()
- Parameters:
- observer - The call observer being added.
- remain - If true, the observer remains on the Call for the lifetime
of the Call. If false, the observer remains on the Call so long as this
Address is part of the Call.
- Throws: ResourceUnavailableException
- The resource limit for the
numbers of observers has been exceeded.
- Throws: PlatformException
- A platform-specific exception occurred.
All Packages Class Hierarchy This Package Previous Next Index