JSR-043: JTAPI-1.4

javax.telephony.callcenter.events
Interface AgentTermEv

All Superinterfaces:
CallCentEv, Ev, TermEv
All Known Subinterfaces:
AgentTermBusyEv, AgentTermLoggedOffEv, AgentTermLoggedOnEv, AgentTermNotReadyEv, AgentTermReadyEv, AgentTermUnknownEv, AgentTermWorkNotReadyEv, AgentTermWorkReadyEv

Deprecated. as of JTAPI 1.4, replaced by AgentTerminalEvent

public interface AgentTermEv
extends CallCentEv, TermEv

The AgentTermEv interfaces is the base event for all events pertaining to the AgentTerminal interface. This interface extends the CallCentEv interface and the core TermEv interface. All event interfaces which extend this interface are reported via the AgentTerminalObserver interface.

The call center package defines events interfaces which extend this interface to report state changes in the Agent. These events are: AgentTermBusyEv, AgentTermLoggedOffEv, AgentTermLoggedOnEv, AgentTermNotReadyEv, AgentTermUnknownEv, AgentTermWorkNotReadyEv, and AgentTermWorkReadyEv.

See Also:
Terminal, TermEv, Agent, AgentTerminal, CallCentEv, AgentTermBusyEv, AgentTermLoggedOnEv, AgentTermLoggedOffEv, AgentTermNotReadyEv, AgentTermReadyEv, AgentTermUnknownEv, AgentTermWorkNotReadyEv, AgentTermWorkReadyEv

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
 ACDAddress getACDAddress()
          Deprecated. JTAPI v1.2 This method has been replaced by the getAgent() method.
 Agent getAgent()
          Deprecated. Returns the Agent associated with the AgentTerminal.
 Address getAgentAddress()
          Deprecated. JTAPI v1.2 This method has been replaced by the getAgent() method.
 java.lang.String getAgentID()
          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.
 
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.TermEv
getTerminal
 

Method Detail

getAgent

public Agent getAgent()
Deprecated. 
Returns the Agent associated with the AgentTerminal.

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

getACDAddress

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

Returns the ACDAddress the agent currently is or was logged into.

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

Returns:
The ACDAddress currently or formerly associated with the Agent.

getAgentID

public java.lang.String getAgentID()
Deprecated. JTAPI v1.2 This method has been replaced by the getAgent() method.

Returns the ID of the Agent.

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

Returns:
The Agent ID.

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 AgentTermEv.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 AgentTermEv.getAgent() method to obtain the Agent and then use the Agent.getAgentAddress() method.

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

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org