CtiAgentStateManager Class

Definition

Represents the base class for managing agent state actions This class is intended to be overridden as necessary to provide implementation points for custom CTI commands.

public ref class CtiAgentStateManager abstract : Microsoft::Uii::Desktop::Cti::Core::ICtiAgentStateManager
public abstract class CtiAgentStateManager : Microsoft.Uii.Desktop.Cti.Core.ICtiAgentStateManager
type CtiAgentStateManager = class
    interface ICtiAgentStateManager
Public MustInherit Class CtiAgentStateManager
Implements ICtiAgentStateManager
Inheritance
CtiAgentStateManager
Implements

Constructors

CtiAgentStateManager(ICtiControl)

Initializes a new instance of the ICtiControl class.

Properties

AgentGlobalConfig

Gets or sets the agent configuration information.

CtiHostedControl

Gets the pointer to the hosted control provided during construction.

CurrentAgentState

Gets or sets the current agent’s state.

GetCurrentAgentState

Gets the current agent state.

Methods

LoadGlobalAgentConfig()

Loads the global agent configuration.

OnUpdateAgentStatusEvent(CtiCoreEventArgs)

Handles an update for the CTI platform indicating that an agent change event has occured. This method should aways be overriden.

SendAvailable()

Notifies the calling system that the agent is available.

SendLoggedOut()

Notifies the calling system that the agent is logged out.

SendUnavailable()

Raises the unavailable event

SetAgentMediaAddress(String)

Sets the media endpoint of an agent desktop. This could be a TN, IPAddress or some other method.

SetAvailable()

Sets the agent state to available.

SetUnavailable(String)

Sets the agent state for the ID of the current agent to unavailable.

UpdateState()

Updates the agent state.

Events

AgentAvailable

Raised when an agent available state is set.

AgentLoggedOut

Raised when an agent logged out state is set.

AgentNotAvailable

Raised when an agent not available state is set.

Applies to