JSR-043: JTAPI-1.4

javax.telephony
Interface TerminalListener

All Superinterfaces:
java.util.EventListener
All Known Subinterfaces:
AgentTerminalListener, CallControlTerminalListener, PhoneTerminalListener, PrivateDataTerminalListener

public interface TerminalListener
extends java.util.EventListener

The TerminalListener interface reports all changes which happen to the Terminal object.

Introduction

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

Terminal Listener Ending

At various times, the underlying implementation may not be able to observe the Terminal. In these instances, the TerminalListener is sent an terminalListenerEnded event. This indicates that the application will not receive further events associated with the Terminal object. This listener is no longer reported via the Terminal.getListeners() method.

See Also:
TerminalEvent

Method Summary
 void terminalListenerEnded(TerminalEvent event)
          The terminalListenerEnded event indicates that the application will no longer receive Terminal events on the instance of the TerminalListener.
 

Method Detail

terminalListenerEnded

public void terminalListenerEnded(TerminalEvent event)
The terminalListenerEnded event indicates that the application will no longer receive Terminal events on the instance of the TerminalListener.

This constant indicates a specific event passed via a TerminalEvent event, and is reported on the TerminalListener interface.

See Also:
TerminalEvent

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org