javax.telephony
Interface TerminalEvent
- All Superinterfaces:
- Event
- All Known Subinterfaces:
- AgentTerminalEvent, CallControlTerminalEvent, PhoneTerminalEvent
- public interface TerminalEvent
- extends Event
The TerminalEvent
interface is the base interface for all Terminal-
related events. All events which pertain to the Terminal object must
extend this interface. Events which extend this interface are reported via
the TerminalListener
interface.
The only event defined in the core package for the Terminal is the
TERMINAL_EVENT_TRANSMISSION_ENDED
.
The TerminalEvent.getTerminal()
method on this interface returns the
Terminal associated with the Terminal event.
- See Also:
Event
,
TerminalListener
,
Terminal
Field Summary |
static int |
TERMINAL_EVENT_TRANSMISSION_ENDED
The TERMINAL_EVENT_TRANSMISSION_ENDED event indicates that the application
will no longer receive Terminal events on the instance of the
TerminalListener . |
Fields inherited from interface javax.telephony.Event |
CAUSE_CALL_CANCELLED, CAUSE_DEST_NOT_OBTAINABLE, CAUSE_INCOMPATIBLE_DESTINATION, CAUSE_LOCKOUT, CAUSE_NETWORK_CONGESTION, CAUSE_NETWORK_NOT_OBTAINABLE, CAUSE_NEW_CALL, CAUSE_NORMAL, CAUSE_RESOURCES_NOT_AVAILABLE, CAUSE_SNAPSHOT, CAUSE_UNKNOWN |
Method Summary |
Terminal |
getTerminal()
Returns the Terminal associated with this Terminal event. |
TERMINAL_EVENT_TRANSMISSION_ENDED
public static final int TERMINAL_EVENT_TRANSMISSION_ENDED
- The
TERMINAL_EVENT_TRANSMISSION_ENDED
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.
getTerminal
public Terminal getTerminal()
- Returns the Terminal associated with this Terminal event.
- Returns:
- The Terminal associated with this event.
Send comments to: JSR-43@ectf.org