|
4.1.0.610 20071213 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.ecma.csta.CastorObject
ch.ecma.csta.binding.MonitorStart
public class MonitorStart
Initiates an event monitor on a specified device.
The server starts a monitor, allocates a Monitor Cross Reference Identifier that uniquely identifies the monitor, and then positively acknowledges the request. All activities satisfying the filter trigger events which are delivered as a stream of event reports to the server. Each event contains the Monitor Cross Reference Identifier that correlates the event back to the Monitor Start service that established the monitor. Once the monitor is terminated, the monitor cross reference ID is no longer valid. See Monitoring for an overview of monitoring and related concepts such as monitor objects, monitor types, monitor call types, and monitor filters. By default, per CSTA standards, an application that sends a MonitorStart request will begin receiving all events. You must specifically state what events you do not want to receive. Specifically, you need to set the unwanted events to true. Avaya has implemented a feature that allows an application to request to receive only certain events. This is done using the invertFilter parameter. In this case, you need to set the events you want to true. The invertFilter parameter is set in the privateData section of extension. The MonitorStart request has these parameters:MonitorStart Request Parameters | ||
---|---|---|
monitorObject | Mandatory | Specifies the monitor object of a device to be monitored. |
requestedMonitorFilter | Optional | Specifies the requested set of events to be filtered out (not sent) by the switching function. It is a bitmap of all events defined in this Standard. |
monitorType | Optional | Specifies the type of monitor requested. Currently only a value of device-type is supported. |
extensions | Optional | An Avaya-defined AvayaExtensions structure that contains the invertFilter flag mentioned above, as well as filters for the events on the Avaya-specific services. |
Constructor Summary | |
---|---|
MonitorStart()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
CSTACommonArguments |
getExtensions()
Returns the value of field 'extensions'. |
MonitorObject |
getMonitorObject()
Returns the value of field 'monitorObject'. |
MonitorType |
getMonitorType()
Returns the value of field 'monitorType'. |
MonitorFilter |
getRequestedMonitorFilter()
Returns the value of field 'requestedMonitorFilter'. |
MonitorMediaClass |
getRequestedMonitorMediaClass()
Returns the value of field 'requestedMonitorMediaClass'. |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
void |
setExtensions(CSTACommonArguments extensions)
Sets the value of field 'extensions'. |
void |
setMonitorObject(MonitorObject monitorObject)
Sets the value of field 'monitorObject'. |
void |
setMonitorType(MonitorType monitorType)
Sets the value of field 'monitorType'. |
void |
setRequestedMonitorFilter(MonitorFilter requestedMonitorFilter)
Sets the value of field 'requestedMonitorFilter'. |
void |
setRequestedMonitorMediaClass(MonitorMediaClass requestedMonitorMediaClass)
Sets the value of field 'requestedMonitorMediaClass'. |
static MonitorStart |
unmarshalMonitorStart(java.io.Reader reader)
Method unmarshalMonitorStart |
void |
validate()
Method validate |
Methods inherited from class ch.ecma.csta.CastorObject |
---|
getOldSessionID, hashCode, setOldSessionID, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MonitorStart()
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class ch.ecma.csta.CastorObject
obj
-
public CSTACommonArguments getExtensions()
public MonitorObject getMonitorObject()
public MonitorType getMonitorType()
public MonitorFilter getRequestedMonitorFilter()
public MonitorMediaClass getRequestedMonitorMediaClass()
public boolean isValid()
public void marshal(java.io.Writer out) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
out
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
handler
-
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void setExtensions(CSTACommonArguments extensions)
extensions
- the value of field 'extensions'.public void setMonitorObject(MonitorObject monitorObject)
monitorObject
- the value of field 'monitorObject'.public void setMonitorType(MonitorType monitorType)
monitorType
- the value of field 'monitorType'.public void setRequestedMonitorFilter(MonitorFilter requestedMonitorFilter)
requestedMonitorFilter
- the value of field
'requestedMonitorFilter'.public void setRequestedMonitorMediaClass(MonitorMediaClass requestedMonitorMediaClass)
requestedMonitorMediaClass
- the value of field
'requestedMonitorMediaClass'.public static MonitorStart unmarshalMonitorStart(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader
-
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException
public void validate() throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException
|
4.1.0.610 20071213 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |