|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The CallObserver
interface reports all changes which happen to
the Call object and all of the Connection and TerminalConnection objects
which are part of the Call.
CallObserver.callChangedEvent()
method. Applications must
instantiate an object which implements this interface and then add the
observer to the call using one of several mechanisms described below to
receive all future events associated with the Call and its Connections and
TerminalConnections.
The CallObserver.callChangedEvent()
method receives an array
of events which all must extend the CallEv
interface. Since
several changes may happen to a single JTAPI object at once, a list of
events is needed to convey those changes which happen at the same time.
Applications iterate through the array of events provided.
Call.addObserver()
method. Applications may also add observers to Calls indirectly via the
Address.addCallObserver()
and
Terminal.addCallObserver()
methods. These methods add the given
observer to the Call when the Call comes to the Address or Terminal. See
the specifications for Call, Address, and Terminal for more information.
CallActiveEv
and CallInvalidEv
.
ConnEv
event, which
in turn, extends the CallEv
event. In the core package, an
event is delivered to this interface whenever the Connection changes state.
TermConnEv
interface, which in turn, extends the CallEv
interface. In the
core package, an event is delivered to this interface whenever the
TerminalConnection changes state.
Call.getObservers()
method.
Avaya is providing its backward-compatible Observer model implementation in this release; in the specification this interface is deprecated As of JTAPI 1.4, replaced by CallListener
CallEv
,
ConnEv
,
TermConnEv
,
CallObservationEndedEv
,
CallActiveEv
,
CallInvalidEv
,
ConnAlertingEv
,
ConnConnectedEv
,
ConnCreatedEv
,
ConnDisconnectedEv
,
ConnFailedEv
,
ConnInProgressEv
,
ConnUnknownEv
,
TermConnActiveEv
,
TermConnCreatedEv
,
TermConnDroppedEv
,
TermConnPassiveEv
,
TermConnRingingEv
,
TermConnUnknownEv
Method Summary | |
void |
callChangedEvent(CallEv[] eventList)
Reports all events associated with the Call object. |
Method Detail |
public void callChangedEvent(CallEv[] eventList)
eventList
- The list of Call events.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |