javax.telephony.callcenter
Interface AgentTerminalEvent

All Superinterfaces:
CallCenterEvent, Event, TerminalEvent

public interface AgentTerminalEvent
extends CallCenterEvent, TerminalEvent

The AgentTerminalEvent interface is the interface exposed for all events reported for the AgentTerminal interface. This interface extends the CallCenterEvent interface and the core TerminalEvent interface.

All AgentTerminalEvents are reported via the AgentTerminalListener interface, to objects registered as Listeners for the AgentTerminal associated with the Agent. Objects register as Listeners of AgentTerminalEvents by implementing the AgentTerminalListener interface and invoking Terminal.addListener.

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

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

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

Since:
1.4
See Also:
Terminal, TerminalEvent, Agent, AgentTerminal

Field Summary
static int AGENT_TERMINAL_BUSY
          This event ID indicates that an Agent has moved into the Agent.BUSY state.
static int AGENT_TERMINAL_LOGGED_OFF
          This event ID indicates that an Agent has moved into the Agent.LOG_OFF state.
static int AGENT_TERMINAL_LOGGED_ON
          This event ID indicates that an Agent has moved into the Agent.LOG_ON state.
static int AGENT_TERMINAL_NOT_READY
          This event ID indicates that an Agent has moved into the Agent.NOT_READY state.
static int AGENT_TERMINAL_READY
          This event ID indicates that an Agent has moved into the Agent.READY state.
static int AGENT_TERMINAL_UNKNOWN
          This event ID indicates that an Agent has moved into the Agent.UNKNOWN state.
static int AGENT_TERMINAL_WORK_NOT_READY
          This event ID indicates that an Agent has moved into the Agent.WORK_NOT_READY state.
static int AGENT_TERMINAL_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.TerminalEvent
TERMINAL_EVENT_TRANSMISSION_ENDED
 
Method Summary
 Agent getAgent()
          Returns the Agent associated with the AgentTerminal.
 
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.TerminalEvent
getTerminal
 

Field Detail

AGENT_TERMINAL_BUSY

public static final int AGENT_TERMINAL_BUSY
This event ID indicates that an Agent has moved into the Agent.BUSY state.

See Also:
Agent.BUSY, Constant Field Values

AGENT_TERMINAL_LOGGED_OFF

public static final int AGENT_TERMINAL_LOGGED_OFF
This event ID indicates that an Agent has moved into the Agent.LOG_OFF state.

See Also:
Agent.LOG_OUT, Constant Field Values

AGENT_TERMINAL_LOGGED_ON

public static final int AGENT_TERMINAL_LOGGED_ON
This event ID indicates that an Agent has moved into the Agent.LOG_ON state.

See Also:
Agent.LOG_IN, Constant Field Values

AGENT_TERMINAL_NOT_READY

public static final int AGENT_TERMINAL_NOT_READY
This event ID indicates that an Agent has moved into the Agent.NOT_READY state.

See Also:
Agent.NOT_READY, Constant Field Values

AGENT_TERMINAL_READY

public static final int AGENT_TERMINAL_READY
This event ID indicates that an Agent has moved into the Agent.READY state.

See Also:
Agent.READY, Constant Field Values

AGENT_TERMINAL_UNKNOWN

public static final int AGENT_TERMINAL_UNKNOWN
This event ID indicates that an Agent has moved into the Agent.UNKNOWN state.

See Also:
Agent.UNKNOWN, Constant Field Values

AGENT_TERMINAL_WORK_NOT_READY

public static final int AGENT_TERMINAL_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, Constant Field Values

AGENT_TERMINAL_WORK_READY

public static final int AGENT_TERMINAL_WORK_READY
This event ID indicates that an Agent has moved into the Agent.WORK_READY state.

See Also:
Agent.WORK_READY, Constant Field Values
Method Detail

getAgent

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

Returns:
The associated Agent.


Copyright © 2005 Avaya All Rights Reserved.