com.genesyslab.ail.monitor
Interface MonitorEventMediaStatus

All Superinterfaces:
MonitorEvent, MonitorEventStatus
All Known Subinterfaces:
MonitorEventDnStatus

public interface MonitorEventMediaStatus
extends MonitorEventStatus

This event occurs upon a status change in a monitored media.


Nested Class Summary
static class MonitorEventMediaStatus.DnType
          Lists the possible DN types of a VOICE media.
static class MonitorEventMediaStatus.Status
          Lists the possible statuses of a media.
 
Method Summary
 java.lang.String getDnId()
          Returns the DN ID if this media type is VOICE, otherwise null.
 MonitorEventMediaStatus.DnType getDnType()
          Returns the DN type if this media type is VOICE, otherwise null.
 java.lang.String getName()
          Returns the name of this media.
 MonitorEventMediaStatus.Status getStatus()
          Returns the current status of this media.
 java.lang.String getSwitchName()
          Returns the switch name of this DN if this media type is VOICE, otherwise null.
 

Method Detail

getName

java.lang.String getName()
Returns the name of this media. If the media type is VOICE, the name corresponds to DN number.


getStatus

MonitorEventMediaStatus.Status getStatus()
Returns the current status of this media.


getDnType

MonitorEventMediaStatus.DnType getDnType()
Returns the DN type if this media type is VOICE, otherwise null.


getDnId

java.lang.String getDnId()
Returns the DN ID if this media type is VOICE, otherwise null. Please note that on Aspect and Rockwell Spectrum switches, this method actually returns the agent loginId.


getSwitchName

java.lang.String getSwitchName()
Returns the switch name of this DN if this media type is VOICE, otherwise null.