Interface AddressObserver

All Known Subinterfaces:
ACDAddressObserver, CallControlAddressObserver

public interface AddressObserver

The AddressObserver interface reports all changes which happen to the Address object.


These changes are reported as events to the AddressObserver.addressChangedEvent() method. Applications must instantiate an object which implements this interface and then use the Address.addObserver()) method to register the object to receive all future events associated with the Address object.

The AddressObserver.addressChangedEvent() method receives an array of events which all must extend the AddrEv 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.

Address Observation Ending

At various times, the underlying implementation may not be able to observe the Address. In these instances, the AddressObserver is sent an AddrObservationEndedEv event. This indicates that the application will not receive further events associated with the Address object. The observer is no longer reported via the Address.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 AddressListener

%G% %I%
See Also:
AddrEv, AddrObservationEndedEv

Method Summary
 void addressChangedEvent(AddrEv[] eventList)
          Reports all events associated with the Address object.

Method Detail


public void addressChangedEvent(AddrEv[] eventList)
Reports all events associated with the Address object. This method passes an array of AddrEv objects as its arguments which correspond to the list of events representing the changes to the Address object.

eventList - The list of Address events.

Copyright © 2005 Avaya All Rights Reserved.