JSR-043: JTAPI-1.4

javax.telephony.callcenter
Interface ACDAddressEvent

All Superinterfaces:
AddressEvent, CallCenterEvent, Event

public interface ACDAddressEvent
extends CallCenterEvent, AddressEvent

The ACDAddressEvent interface is the interface exposed for all events reported for the ACDAddress interface. This interface extends the CallCenterEvent interface and the core AddressEvent interface.

All ACDAddressEvents are reported via the ACDAddressListener interface, to objects registered as Listeners for the ACDAddress associated with the Agent. Objects register as Listeners of ACDAddressEvents by implementing the ACDAddressListener interface and invoking Address.addListener.

The call center package reports state changes in Agents which are associated with ACDAddresses.

Each state change is reported via an ACDAddressEvent. An ACDAddressEvent carries an event ID which indicates which specific Agent state change occurred.

The state change indicated by a particular ACDAddressEvent, indicated in turn by the ID value, may be determined by calling the Event.getID method on the event.

Since:
1.4
See Also:
Address, AddressEvent, Agent, ACDAddress

Field Summary
static int ACD_ADDRESS_BUSY
          This event ID indicates that an Agent has moved into the Agent.BUSY state.
static int ACD_ADDRESS_LOGGED_OFF
          This event ID indicates that an Agent has moved into the Agent.LOG_OUT state.
static int ACD_ADDRESS_LOGGED_ON
          This event ID indicates that an Agent has moved into the Agent.LOG_IN state.
static int ACD_ADDRESS_NOT_READY
          This event ID indicates that an Agent has moved into the Agent.NOT_READY state.
static int ACD_ADDRESS_READY
          This event ID indicates that an Agent has moved into the Agent.READY state.
static int ACD_ADDRESS_UNKNOWN
          This event ID indicates that an Agent has moved into the Agent.UNKNOWN state.
static int ACD_ADDRESS_WORK_NOT_READY
          This event ID indicates that an Agent has moved into the Agent.WORK_NOT_READY state.
static int ACD_ADDRESS_WORK_READY
          This event ID indicates that an Agent has moved into the Agent.WORK_READY state.
 
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.AddressEvent
ADDRESS_EVENT_TRANSMISSION_ENDED
 
Method Summary
 Agent getAgent()
          Returns the Agent associated with the ACDAddress.
 
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.AddressEvent
getAddress
 

Field Detail

ACD_ADDRESS_BUSY

public static final int ACD_ADDRESS_BUSY
This event ID indicates that an Agent has moved into the Agent.BUSY state.
See Also:
Agent.BUSY

ACD_ADDRESS_LOGGED_OFF

public static final int ACD_ADDRESS_LOGGED_OFF
This event ID indicates that an Agent has moved into the Agent.LOG_OUT state.
See Also:
Agent.LOG_OUT

ACD_ADDRESS_LOGGED_ON

public static final int ACD_ADDRESS_LOGGED_ON
This event ID indicates that an Agent has moved into the Agent.LOG_IN state.
See Also:
Agent.LOG_IN

ACD_ADDRESS_NOT_READY

public static final int ACD_ADDRESS_NOT_READY
This event ID indicates that an Agent has moved into the Agent.NOT_READY state.
See Also:
Agent.NOT_READY

ACD_ADDRESS_READY

public static final int ACD_ADDRESS_READY
This event ID indicates that an Agent has moved into the Agent.READY state.
See Also:
Agent.READY

ACD_ADDRESS_UNKNOWN

public static final int ACD_ADDRESS_UNKNOWN
This event ID indicates that an Agent has moved into the Agent.UNKNOWN state.
See Also:
Agent.UNKNOWN

ACD_ADDRESS_WORK_NOT_READY

public static final int ACD_ADDRESS_WORK_NOT_READY
This event ID indicates that an Agent has moved into the Agent.WORK_NOT_READY state.
See Also:
Agent.WORK_NOT_READY

ACD_ADDRESS_WORK_READY

public static final int ACD_ADDRESS_WORK_READY
This event ID indicates that an Agent has moved into the Agent.WORK_READY state.
See Also:
Agent.WORK_READY
Method Detail

getAgent

public Agent getAgent()
Returns the Agent associated with the ACDAddress.

Returns:
The associated Agent.

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org