|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.
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 |
public static final int AGENT_TERMINAL_BUSY
Agent.BUSY state.
Agent.BUSY,
Constant Field Valuespublic static final int AGENT_TERMINAL_LOGGED_OFF
Agent.LOG_OFF state.
Agent.LOG_OUT,
Constant Field Valuespublic static final int AGENT_TERMINAL_LOGGED_ON
Agent.LOG_ON state.
Agent.LOG_IN,
Constant Field Valuespublic static final int AGENT_TERMINAL_NOT_READY
Agent.NOT_READY state.
Agent.NOT_READY,
Constant Field Valuespublic static final int AGENT_TERMINAL_READY
Agent.READY state.
Agent.READY,
Constant Field Valuespublic static final int AGENT_TERMINAL_UNKNOWN
Agent.UNKNOWN state.
Agent.UNKNOWN,
Constant Field Valuespublic static final int AGENT_TERMINAL_WORK_NOT_READY
Agent.WORK_NOT_READY state.
Agent.WORK_NOT_READY,
Constant Field Valuespublic static final int AGENT_TERMINAL_WORK_READY
Agent.WORK_READY state.
Agent.WORK_READY,
Constant Field Values| Method Detail |
public Agent getAgent()
Agent associated with the
AgentTerminal.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||