JSR-043: JTAPI-1.4

javax.telephony.callcenter
Interface CallCenterTrunkEvent

All Superinterfaces:
CallCenterCallEvent, CallCenterEvent, CallEvent, Event

public interface CallCenterTrunkEvent
extends CallCenterCallEvent

This interface is exposed for all events reported for CallCenterTrunk-related state change events in the call center package. This interface extends the CallCenterCallEvent interface.

This interface contains a single method, getTrunk, which returns the CallCenterTrunk associated with this event.

The call center package returns two possible CallCenterTrunkEvent event IDs - they are CALL_CENTER_TRUNK_VALID_EVENT and CALL_CENTER_TRUNK_INVALID_EVENT. These IDs indicate state changes in the CallCenterTrunk with respect to this particular CallCenterCall.

All CallCenterTrunkEvents are reported via the CallCenterCallListener interface, to objects registered as Listeners. Objects register as Listeners of CallCenterTrunkEvents by implementing the CallCenterCallListener interface and invoking Call.addListener.

Since:
1.4
See Also:
CallCenterCall

Field Summary
static int CALL_CENTER_TRUNK_INVALID_EVENT
          This event ID indicates that CallCentTrunkValidEv has moved into the CallCenterTrunk.VALID_TRUNK_INVALID state.
static int CALL_CENTER_TRUNK_VALID_EVENT
          This event ID indicates that CallCentTrunkValidEv has moved into the CallCenterTrunk.VALID_TRUNK state.
 
Fields inherited from interface javax.telephony.callcenter.CallCenterCallEvent
CALLCENT_CALL_APPLICATION_DATA_EVENT
 
Fields inherited from interface javax.telephony.callcenter.CallCenterEvent
CAUSE_NO_AVAILABLE_AGENTS
 
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.CallEvent
CALL_ACTIVE, CALL_EVENT_TRANSMISSION_ENDED, CALL_INVALID
 
Method Summary
 CallCenterTrunk getTrunk()
          Returns the CallCenterTrunk associated with this event.
 
Methods inherited from interface javax.telephony.callcenter.CallCenterCallEvent
getApplicationData, getCalledAddress, getCallingAddress, getCallingTerminal, getLastRedirectedAddress
 
Methods inherited from interface javax.telephony.callcenter.CallCenterEvent
getCallCenterCause
 
Methods inherited from interface javax.telephony.Event
getCause, getID, getMetaEvent, getSource
 
Methods inherited from interface javax.telephony.CallEvent
getCall
 

Field Detail

CALL_CENTER_TRUNK_VALID_EVENT

public static final int CALL_CENTER_TRUNK_VALID_EVENT
This event ID indicates that CallCentTrunkValidEv has moved into the CallCenterTrunk.VALID_TRUNK state.

CALL_CENTER_TRUNK_INVALID_EVENT

public static final int CALL_CENTER_TRUNK_INVALID_EVENT
This event ID indicates that CallCentTrunkValidEv has moved into the CallCenterTrunk.VALID_TRUNK_INVALID state.
Method Detail

getTrunk

public CallCenterTrunk getTrunk()
Returns the CallCenterTrunk associated with this event.
Returns:
The associated CallCenterTrunk.

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org