|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The LucentTerminal interface extends the ITsapiTerminal interface.
Method Summary | |
Agent |
addAgent(LucentAddress agentAddress,
ACDAddress acdAddress,
int initialState,
int workMode,
java.lang.String agentID,
java.lang.String password)
This method overrides Terminal.addAgent() to add the Avaya-specific parameter workMode. |
java.lang.String |
getDirectoryName()
Return Directory name of this Terminal. |
Methods inherited from interface javax.telephony.Terminal |
addCallListener, addCallObserver, addObserver, addTerminalListener, getAddresses, getCallListeners, getCallObservers, getCapabilities, getName, getObservers, getProvider, getTerminalCapabilities, getTerminalConnections, getTerminalListeners, removeCallListener, removeCallObserver, removeObserver, removeTerminalListener |
Methods inherited from interface javax.telephony.callcontrol.CallControlTerminal |
getDoNotDisturb, pickup, pickup, pickup, pickupFromGroup, pickupFromGroup, setDoNotDisturb |
Methods inherited from interface javax.telephony.callcenter.AgentTerminal |
addAgent, getAgents, removeAgent, setAgents |
Method Detail |
public Agent addAgent(LucentAddress agentAddress, ACDAddress acdAddress, int initialState, int workMode, java.lang.String agentID, java.lang.String password) throws TsapiInvalidArgumentException, TsapiInvalidStateException
An Agent object represents an AgentTerminal logged into an ACDAddress.
If the getAgents() method is invoked subsequently it will return this Agent object.
The Agent can be removed from this AgentTerminal by invoking the removeAgent() method.
The pre-condition predicates for this method are:
1. this.getProvider().getState() == IN_SERVICE
The post-condition predicates for this method are:
1. this.getProvider().getState() == IN_SERVICE
2. (this.getAgents() union agent) == agent
3. agent.getStateInfo == initial state and workMode ( specified as a parameter )
agentAddress
- specifies that Address on this Terminal that
this request is for, where the Terminal may support several addresses.acdAddress
- specifies the address of the ACD that the Terminal
is requested to be logged in to (may be null
).initialState
- specifies the initial state of the agent.
Valid states are Agent.READY, Agent.NOT_READY and Agent.LOG_IN.workMode
- specifies the work mode this Agent should be set to. Valid
workModes are LucentAgent.MODE_AUTO_IN and LucentAgent.MODE_MANUAL_IN.agentID
- is the Agent's ID.password
- is the Agent's password.
TsapiInvalidArgumentException
- At least one of the arguments provided
is not valid.
TsapiInvalidStateException
- Implementation determined AgentTerminal was
in an invalid state for this method.public java.lang.String getDirectoryName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |