JSR-043: JTAPI-1.4

javax.telephony.callcontrol
Interface CallControlTerminalEvent

All Superinterfaces:
CallControlEvent, Event, TerminalEvent

public interface CallControlTerminalEvent
extends CallControlEvent, TerminalEvent

The CallControlTerminalEvent interface is the base interface for all callcontrol package Terminal-related events. All Terminal-related events must extend this interface. Events which extend this interface are reported via the CallControlTerminalListener interface. This interface extends both the CallControlEvent and core TerminalEvent interfaces.

Since:
1.4
See Also:
Terminal, TerminalEvent, TerminalListener, CallControlTerminalListener, CallControlEvent

Field Summary
static int CALLCTL_TERMINAL_EVENT_DO_NOT_DISTURB
          The CALLCTL_TERMINAL_EVENT_DO_NOT_DISTURB event indicates that the state of the do not disturb feature has changed for the CallControlTerminal.
 
Fields inherited from interface javax.telephony.callcontrol.CallControlEvent
CAUSE_ALTERNATE, CAUSE_BUSY, CAUSE_CALL_BACK, CAUSE_CALL_NOT_ANSWERED, CAUSE_CALL_PICKUP, CAUSE_CONFERENCE, CAUSE_DO_NOT_DISTURB, CAUSE_PARK, CAUSE_REDIRECTED, CAUSE_REORDER_TONE, CAUSE_TRANSFER, CAUSE_TRUNKS_BUSY, CAUSE_UNHOLD
 
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
 
Fields inherited from interface javax.telephony.TerminalEvent
TERMINAL_EVENT_TRANSMISSION_ENDED
 
Method Summary
 boolean getDoNotDisturbState()
          Returns true if the do not disturb feature is activated, false otherwise.
 
Methods inherited from interface javax.telephony.callcontrol.CallControlEvent
getCallControlCause
 
Methods inherited from interface javax.telephony.Event
getCause, getID, getMetaEvent, getSource
 
Methods inherited from interface javax.telephony.TerminalEvent
getTerminal
 

Field Detail

CALLCTL_TERMINAL_EVENT_DO_NOT_DISTURB

public static final int CALLCTL_TERMINAL_EVENT_DO_NOT_DISTURB
The CALLCTL_TERMINAL_EVENT_DO_NOT_DISTURB event indicates that the state of the do not disturb feature has changed for the CallControlTerminal.

This constant indicates a specific event passed via CallControlTerminalEvent event, and is reported on the CallControlTerminalListener interface by calling the CallControlTerminalListener.terminalDoNotDisturb( CallControlTerminalEvent ) method. The new state of the do not disturb feature can be gotten by the getDoNotDisturb() method on the CallControlTerminal

Method Detail

getDoNotDisturbState

public boolean getDoNotDisturbState()
Returns true if the do not disturb feature is activated, false otherwise.

Returns:
True if the do not disturb feature is activated, false otherwise.

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org