|
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.Suspend
public class Suspend
Temporarily stops the playing or recording of the current message and leaves the position pointer at its current location.
The Suspend request has these parameters:Suspend Request Parameters | ||
---|---|---|
connection | Mandatory | Specifies the device on which playing and recording is to be suspended. Only the device portion of the ConnectionID needs to be set. |
message | Not supported | |
extensions | Not supported |
Resume
request or the Extended Voice Unit
Service's
ResumePlaying
or ResumeRecording
request.SuspendPlayEvent
if suspended while playing, and a
SuspendRecordEvent
if suspended while recording.
Negative Acknowledgements:
Constructor Summary | |
---|---|
Suspend()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
ConnectionID |
getConnection()
Returns the value of field 'connection'. |
CSTACommonArguments |
getExtensions()
Returns the value of field 'extensions'. |
java.lang.String |
getMessage()
Returns the value of field 'message'. |
java.lang.String |
getResource()
Returns the value of field 'resource'. |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
void |
setConnection(ConnectionID connection)
Sets the value of field 'connection'. |
void |
setExtensions(CSTACommonArguments extensions)
Sets the value of field 'extensions'. |
void |
setMessage(java.lang.String message)
Sets the value of field 'message'. |
void |
setResource(java.lang.String resource)
Sets the value of field 'resource'. |
static Suspend |
unmarshalSuspend(java.io.Reader reader)
Method unmarshalSuspend |
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 Suspend()
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class ch.ecma.csta.CastorObject
obj
-
public ConnectionID getConnection()
public CSTACommonArguments getExtensions()
public java.lang.String getMessage()
public java.lang.String getResource()
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 setConnection(ConnectionID connection)
connection
- the value of field 'connection'.public void setExtensions(CSTACommonArguments extensions)
extensions
- the value of field 'extensions'.public void setMessage(java.lang.String message)
message
- the value of field 'message'.public void setResource(java.lang.String resource)
resource
- the value of field 'resource'.public static Suspend unmarshalSuspend(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 |