JSR-043: JTAPI-1.4

javax.telephony.callcenter
Interface CallCenterEvent

All Superinterfaces:
Event
All Known Subinterfaces:
ACDAddressEvent, AgentTerminalEvent, CallCenterCallEvent, CallCenterConnectionEvent, CallCenterTrunkEvent

public interface CallCenterEvent
extends Event

The CallCenterEvent interface is the base event interface for all call center package events. This interface extends the core Event interface. All call center package events must extend this interface.

CallCenterEvent events are reported via the following Listener interfaces: ACDAddressListener, AgentTerminalListener and CallCenterCallListener.

This interface contains a single method getCallCenterCause() which returns the call center package-specific cause value for the event.

The call center package defines the following interfaces which directly extend this interface: ACDAddressEvent, AgentTerminalEvent, and CallCenterCallEvent.

Since:
1.4
See Also:
Event, ACDAddressEvent, AgentTerminalEvent, CallCenterCallEvent

Field Summary
static int CAUSE_NO_AVAILABLE_AGENTS
          This cause indicates no agents were available to handle the call.
 
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
 int getCallCenterCause()
          Returns the call center package cause value for this event.
 
Methods inherited from interface javax.telephony.Event
getCause, getID, getMetaEvent, getSource
 

Field Detail

CAUSE_NO_AVAILABLE_AGENTS

public static final int CAUSE_NO_AVAILABLE_AGENTS
This cause indicates no agents were available to handle the call.
Method Detail

getCallCenterCause

public int getCallCenterCause()
Returns the call center package cause value for this event. This method may also return the Ev.CAUSE_NORMAL constant or the Ev.CAUSE_UNKNOWN constant.

Returns:
The call center package cause for the event.

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org