Interaction SDK
(Web Services)

Service: MonitorService


Access point to get real-time information such as agent status or predefined counter.
Attribute Summary
com.genesyslab.ail.ws.monitor.MonitorEventAgentStatus monitor-status:agent
           The current status of an agent.
com.genesyslab.ail.ws.monitor.MonitorEventMediaStatus monitor-status:media
           The current status of a Media.

Method Summary
com.genesyslab.ail.ws.monitor.MonitorEventStatus peekStatus
           Returns a MonitorEventStatus that represents the current status of the object objectid.

Event Summary
StatusEvent
           Status event.

Attribute Detail

Attributes of domain monitor-status

Monitor status attributes definition


agent

Type: com.genesyslab.ail.ws.monitor.MonitorEventAgentStatus
The current status of an agent.
Properties: event-default event


media

Type: com.genesyslab.ail.ws.monitor.MonitorEventMediaStatus
The current status of a Media.
Properties: event-default event


Method Detail

peekStatus

Returns a MonitorEventStatus that represents the current status of the object objectid.
Parameters:

  objectType  com.genesyslab.ail.ws.monitor.MonitorObjectType
   uses the constants defined in MonitorObjectType.

  objectId  String
   Object identifier.

Returns:

  Type:  com.genesyslab.ail.ws.monitor.MonitorEventStatus

   The MonitorEventStatus.

Errors:

  error.common.AilFactoryNotInitialized

  error.common.RequestFailed


Event Detail

StatusEvent

Status event.
Available attributes:  monitor-status:*

Filters:

Triggers:

  Key: STATUS   Value:   -  objectType : type of the object PERSON or QUEUE. objectId : identifier of the object. notificationMode : CHANGED_BASED or TIME_BASED. notificationValue : the value of the notification (CHANGED_BASED : an event will be sent only if the value changes by more than this notificationValue , TIME_BASED : an event is sent every notificationValue seconds). Note : if parameter contains a : character , escape it with a \ character (ex Agent:100 becomes Agent\:100)?. Example : PERSON:Agent10:CHANGED_BASED:10


Interaction SDK
(Web Services)