Class AgentDeviceLoginResult
java.lang.Object
com.novomind.ecom.api.iagent.result.AgentDeviceLoginResult
An
AgentDeviceLoginResult
provides all information
about the successful agent login on an agent device.
An AgentDeviceLoginResult
is provided by the AgentDeviceControlConnector.loginAgent(com.novomind.ecom.api.iagent.request.AgentDeviceLoginRequest)
method.- Since:
- 11.27
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String key) Returns the value to which the specified key is mapped, ornull
if no mapping for the key exists.The method returns all available attributesboolean
setAttribute
(String key, String value) The method stores key-value pairs that will be available and accessible to other plugins.setOutgoingCallCapability
(boolean outgoingCallCapability)
-
Constructor Details
-
AgentDeviceLoginResult
-
-
Method Details
-
getAgentDevice
- Returns:
- the
AgentDevice
- Since:
- 11.27
-
hasOutgoingCallCapability
public boolean hasOutgoingCallCapability()- Returns:
- true if the plugin is able to start outgoing calls, otherwise false
- Since:
- 11.27
-
setOutgoingCallCapability
- Parameters:
outgoingCallCapability
- the capability of starting outgoing calls- Returns:
- the
AgentDeviceLoginResult
- Since:
- 11.27
-
setAttribute
The method stores key-value pairs that will be available and accessible to other plugins.- Parameters:
key
- the attribute keyvalue
- the attribute value- Returns:
- the
AgentDeviceLoginResult
- Since:
- 11.27
-
getAttribute
Returns the value to which the specified key is mapped, ornull
if no mapping for the key exists.- Parameters:
key
- the attribute key- Returns:
- the value of the attribute or
null
if no mapping for the key exists - Since:
- 11.27
-
getAttributes
The method returns all available attributes- Returns:
- the set of attributes
- Since:
- 11.27
-