|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The LucentAgent interface extends the ITsapiAgent interface.
Field Summary | |
static int |
MODE_AUTO_IN
In this work mode the agent is put into the Agent.READY state immediately after disconnecting from a previous call and can be delivered a new call . |
static int |
MODE_MANUAL_IN
In this work mode the agent is put into the Agent.WORK_NOT_READY immediately after disconnecting from a previous call and cannot be delivered a new call . |
static int |
MODE_NONE
This implies the agent's work mode is not being set. |
Fields inherited from interface javax.telephony.callcenter.Agent |
BUSY, LOG_IN, LOG_OUT, NOT_READY, READY, UNKNOWN, WORK_NOT_READY, WORK_READY |
Method Summary | |
LucentAgentStateInfoEx |
getStateInfo()
This returns this Agent's state and workMode. |
void |
setState(int state,
int workMode)
This method overrides Agent.setState() to add the Avaya-specific parameter workMode. |
Methods inherited from interface javax.telephony.callcenter.Agent |
getACDAddress, getAgentAddress, getAgentID, getAgentTerminal, getState, setState |
Field Detail |
public static final int MODE_NONE
public static final int MODE_AUTO_IN
public static final int MODE_MANUAL_IN
Method Detail |
public void setState(int state, int workMode) throws TsapiInvalidArgumentException, TsapiInvalidStateException
The post and pre conditions are as follows:
The pre-condition predicates for this method are:
1. this.getTerminal.getProvider().getState() == IN_SERVICE
2. this.getStateInfo (appropriate state and workMode)
The post-condition predicates for this method are:
1. this.getTerminal.getProvider().getState() == IN_SERVICE
2. this.getStateInfo() == state and workMode ( specified as a parameter )
state
- specifies the state this Agent should be set to. Valid
states are READY, NOT_READY, WORK_READY and WORK_NOT_READY.workMode
- specifies the state this Agent should be set to. Valid
workModes are MODE_AUTO_IN and MODE_MANUAL_IN.
TsapiInvalidArgumentException
- At least one of the arguments passed
in is not valid.
TsapiInvalidStateException
- Implementation determined Agent was
in an invalid state for this method.public LucentAgentStateInfoEx getStateInfo()
Valid values of state returned are UNKNOWN, BUSY, READY, NOT_READY, WORK_READY, WORK_NOT_READY, LOG_IN and LOG_OUT. Valid values of workModes are MODE_AUTO_IN and MODE_MANUAL_IN.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |