JSR-043: JTAPI-1.4

javax.telephony.callcenter.events
Interface ACDAddrEv

All Superinterfaces:
AddrEv, CallCentEv, Ev
All Known Subinterfaces:
ACDAddrBusyEv, ACDAddrLoggedOffEv, ACDAddrLoggedOnEv, ACDAddrNotReadyEv, ACDAddrReadyEv, ACDAddrUnknownEv, ACDAddrWorkNotReadyEv, ACDAddrWorkReadyEv

Deprecated. as of JTAPI 1.4, replaced by ACDAddressEvent

public interface ACDAddrEv
extends CallCentEv, AddrEv

The ACDAddrEv interfaces is the base event for all events pertaining to the ACDAddress interface. This interface extends the CallCentEv interface and the core AddrEv interface. All event interfaces which extend this interface are reported via the ACDAddressObserver interface.

The call center package defines events interfaces which extend this interface to report state changes in Agent's which are associated with the ACDAddress. These events are: ACDAddrBusyEv, ACDAddrLoggedOffEv, ACDAddrLoggedOnEv, ACDAddrNotReadyEv, ACDAddrUnknownEv, ACDAddrWorkNotReadyEv, and ACDAddrWorkReadyEv.

See Also:
Terminal, TermEv, Agent, ACDAddress, CallCentEv, ACDAddrBusyEv, ACDAddrLoggedOnEv, ACDAddrLoggedOffEv, ACDAddrNotReadyEv, ACDAddrReadyEv, ACDAddrUnknownEv, ACDAddrWorkNotReadyEv, ACDAddrWorkReadyEv

Fields inherited from interface javax.telephony.callcenter.events.CallCentEv
CAUSE_NO_AVAILABLE_AGENTS
 
Fields inherited from interface javax.telephony.events.Ev
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, META_CALL_ADDITIONAL_PARTY, META_CALL_ENDING, META_CALL_MERGING, META_CALL_PROGRESS, META_CALL_REMOVING_PARTY, META_CALL_STARTING, META_CALL_TRANSFERRING, META_SNAPSHOT, META_UNKNOWN
 
Method Summary
 Agent getAgent()
          Deprecated. Returns the Agent associated with this event.
 Address getAgentAddress()
          Deprecated. JTAPI v1.2 This method has been replaced by the getAgent() method.
 AgentTerminal getAgentTerminal()
          Deprecated. JTAPI v1.2. This method has been replaced by the getAgent() method.
 int getState()
          Deprecated. JTAPI v1.2 This method has been replaced by the getAgent() method.
 CallCenterTrunk[] getTrunks()
          Deprecated. JTAPI v1.2. This method has been replaced by the getAgent() method.
 
Methods inherited from interface javax.telephony.callcenter.events.CallCentEv
getCallCenterCause
 
Methods inherited from interface javax.telephony.events.Ev
getCause, getID, getMetaCode, getObserved, isNewMetaEvent
 
Methods inherited from interface javax.telephony.events.AddrEv
getAddress
 

Method Detail

getAgent

public Agent getAgent()
Deprecated. 
Returns the Agent associated with this event.

Returns:
The associated Agent.
Since:
JTAPI v1.2

getAgentTerminal

public AgentTerminal getAgentTerminal()
Deprecated. JTAPI v1.2. This method has been replaced by the getAgent() method.

Returns the Terminal associated with the Agent.

Note: This method has been replaced in JTAPI v1.2 and later. Applications should use the ACDAddrEv.getAgent() method to obtain the Agent and then use the Agent.getAgentTerminal() method.

Returns:
The Terminal associated with the Agent.

getState

public int getState()
Deprecated. JTAPI v1.2 This method has been replaced by the getAgent() method.

Returns the state of the Agent.

Note: This method has been replaced in JTAPI v1.2 and later. Applications should use the ACDAddrEv.getAgent() method to obtain the Agent and then use the Agent.getState() method.

Returns:
The Agent's state.

getAgentAddress

public Address getAgentAddress()
Deprecated. JTAPI v1.2 This method has been replaced by the getAgent() method.

Returns the Address associated with the Agent's Terminal.

Note: This method has been replaced in JTAPI v1.2 and later. Applications should use the ACDAddrEv.getAgent() method to obtain the Agent and then use the Agent.getAgentAddress() method.

Returns:
The Address associated with the Agent's Terminal.

getTrunks

public CallCenterTrunk[] getTrunks()
Deprecated. JTAPI v1.2. This method has been replaced by the getAgent() method.

Returns an array of all Trunks currently being used for this Call. If there are no Trunks being used, this method returns null.

Note: This method has been replaced in JTAPI v1.2 and later. Applications should use the ACDAddrEv.getAgent() method to obtain the Agent and then get the trunks via the CallCenterCall interface.

Returns:
An array of Trunks, null if there are none.

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org