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.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 |
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.
getTrunk
public CallCenterTrunk getTrunk()
- Returns the
CallCenterTrunk
associated with this event.
- Returns:
- The associated CallCenterTrunk.
Send comments to: JSR-43@ectf.org