Interface java.telephony.ProviderObserver
All Packages Class Hierarchy This Package Previous Next Index
Interface java.telephony.ProviderObserver
- public interface ProviderObserver
- extends Object
The ProviderObserver interface reports all state changes on the Provider
object as events. Applications instantiate an object which implements
this interface and uses the Provider.addObserver() method to begin
the delivery of events to this object. Applications may use the
Provider.removeObserver() method to discontinue the delivery of
events to an observer object. A list of observers on the Provider object can
be obtained via the Provider.getObservers() method
The ProviderObserver interface has one method:
providerChangedEvent(). This method takes a single argument, an
array of ProvEv objects. Applications iterate over this array for the
individual events. All Provider events must extend the
java.telephony.events.ProvEv interface.
The ProviderObserver 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 ProviderObserver interface reports the following events. The hyper-links
below provide access to the specifications for these events.
- See Also:
- ProvEv, ProvInServiceEv, ProvOutOfServiceEv, ProvShutdownEv
-
providerChangedEvent(ProvEv[])
- Reports all events on the ProviderObserver interface.
providerChangedEvent
public abstract void providerChangedEvent(ProvEv eventList[])
- Reports all events on the ProviderObserver interface. This method takes
an array of ProvEv object as its argument which reports all these state
changes which have occurred on the Provider object.
- Parameters:
- eventList - The list of Provider events.
All Packages Class Hierarchy This Package Previous Next Index