Interface java.telephony.AddressObserver
All Packages Class Hierarchy This Package Previous Next Index
Interface java.telephony.AddressObserver
- public interface AddressObserver
- extends Object
The AddressObserver interface reports all state changes on the Address
object as events. Applications instantiate an object which implements
this interface and uses the Address.addObserver() method to begin
the delivery of events to this object. Applications may use the
Address.removeObserver() method to discontinue the delivery of
events to an observer object. A list of observers on the Address object can
be obtained via the Address.getObservers() method. Events will be
delivered to the AddressObserver interface only if the Provider is in the
Provider.IN_SERVICE state.
The AddressObserver interface has one method: addressChangedEvent().
This method takes a single argument, an array of AddrEv objects. Applications
iterate over this array for the individual events. All Address events must
extend the java.telephony.events.AddrEv interface.
The AddressObserver reports a list of events because several state changes
may occur at once. To maintain the consistency between the state changes
in the call model and the events reported to the application, several
events may need to be delivered at once.
The AddressObserver interface reports the following events. The hyper-links
below provide access to the specifications for these events.
- See Also:
- AddrEv
-
addressChangedEvent(AddrEv[])
- Reports all events on the AddressObserver interface.
addressChangedEvent
public abstract void addressChangedEvent(AddrEv eventList[])
- Reports all events on the AddressObserver interface. This method takes
an array of AddrEv object as its argument which reports all these state
changes which have occurred on the Address object.
- Parameters:
- eventList - The list of Address events.
All Packages Class Hierarchy This Package Previous Next Index