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