JSR-043: JTAPI-1.4

javax.telephony
Interface AddressObserver

All Known Subinterfaces:
ACDAddressObserver, CallControlAddressObserver

Deprecated. As of JTAPI 1.4, replaced by AddressListener

public interface AddressObserver

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

Introduction

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.

See Also:
AddrEv, AddrObservationEndedEv

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

Method Detail

addressChangedEvent

public void addressChangedEvent(AddrEv[] eventList)
Deprecated. 
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.

Parameters:
eventList - The list of Address events.

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org