|
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.SuspendRecordEvent
public class SuspendRecordEvent
Indicates that a message is suspended during record.
The SuspendRecordEvent can only be triggered by aSuspend
request or
SuspendRecording
request
The parameters of the SuspendRecordEvent structure
are:
SuspendRecordEvent Parameters | ||
---|---|---|
monitorCrossRefID | Not used | Ignore. Currently only used internally. |
connection | Always provided | Specifies the device where the message is being suspended. Type is ConnectionID. |
message | Always provided | Indicates the message that is being recorded. The message is either a numeric Wave filename without the .wav suffix and directory or "0". If this is "0", then an alphanumeric Wave filename was specified in the request . This will be in the extensions RecordMessagePrivateData object. |
length | Always provided | The length of the recording in milliseconds. |
currentPosition | Always provided | The current position in milliseconds from the beginning of the recorded file. This value is always the same as the length. |
cause | Always provided | The reason for suspending the recording. This is always NORMAL. |
servicesPermitted | Not supported | |
extensions | Always provided | A RecordMessagePrivateData object is
embedded in extensions. The
RecordMessagePrivateData
fields that are provided are:
|
RecordMessagePrivateData Parameters | ||
---|---|---|
filename | Always provided | The alphanumeric filename specified in the request. |
timestamp | Always provided | The stop time of the recording. |
Constructor Summary | |
---|---|
SuspendRecordEvent()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
EventCause |
getCause()
Returns the value of field 'cause'. |
ConnectionID |
getConnection()
Returns the value of field 'connection'. |
java.lang.Long |
getCurrentPosition()
Returns the value of field 'currentPosition'. |
CSTACommonArguments |
getExtensions()
Returns the value of field 'extensions'. |
java.lang.Long |
getLength()
Returns the value of field 'length'. |
java.lang.String |
getMessage()
Returns the value of field 'message'. |
java.lang.String |
getMonitorCrossRefID()
Returns the value of field 'monitorCrossRefID'. |
java.lang.String |
getResource()
Returns the value of field 'resource'. |
ServicesPermitted |
getServicesPermitted()
Returns the value of field 'servicesPermitted'. |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
void |
setCause(EventCause cause)
Sets the value of field 'cause'. |
void |
setConnection(ConnectionID connection)
Sets the value of field 'connection'. |
void |
setCurrentPosition(java.lang.Long currentPosition)
Sets the value of field 'currentPosition'. |
void |
setExtensions(CSTACommonArguments extensions)
Sets the value of field 'extensions'. |
void |
setLength(java.lang.Long length)
Sets the value of field 'length'. |
void |
setMessage(java.lang.String message)
Sets the value of field 'message'. |
void |
setMonitorCrossRefID(java.lang.String monitorCrossRefID)
Sets the value of field 'monitorCrossRefID'. |
void |
setResource(java.lang.String resource)
Sets the value of field 'resource'. |
void |
setServicesPermitted(ServicesPermitted servicesPermitted)
Sets the value of field 'servicesPermitted'. |
static SuspendRecordEvent |
unmarshalSuspendRecordEvent(java.io.Reader reader)
Method unmarshalSuspendRecordEvent |
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 SuspendRecordEvent()
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class ch.ecma.csta.CastorObject
obj
-
public EventCause getCause()
public ConnectionID getConnection()
public java.lang.Long getCurrentPosition()
public CSTACommonArguments getExtensions()
public java.lang.Long getLength()
public java.lang.String getMessage()
public java.lang.String getMonitorCrossRefID()
public java.lang.String getResource()
public ServicesPermitted getServicesPermitted()
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 setCause(EventCause cause)
cause
- the value of field 'cause'.public void setConnection(ConnectionID connection)
connection
- the value of field 'connection'.public void setCurrentPosition(java.lang.Long currentPosition)
currentPosition
- the value of field 'currentPosition'.public void setExtensions(CSTACommonArguments extensions)
extensions
- the value of field 'extensions'.public void setLength(java.lang.Long length)
length
- the value of field 'length'.public void setMessage(java.lang.String message)
message
- the value of field 'message'.public void setMonitorCrossRefID(java.lang.String monitorCrossRefID)
monitorCrossRefID
- the value of field
'monitorCrossRefID'.public void setResource(java.lang.String resource)
resource
- the value of field 'resource'.public void setServicesPermitted(ServicesPermitted servicesPermitted)
servicesPermitted
- the value of field
'servicesPermitted'.public static SuspendRecordEvent unmarshalSuspendRecordEvent(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 |