|
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.AttachMediaService
public class AttachMediaService
Not supported.
Attaches an existing call to a media service instance for the
purpose of
transmitting media stream data to the call or receiving media
stream data
from the call.
MediaAttachedEvent
is generated on
monitors
associated with the specified call or device. This event may
contain the
associated mediaStreamID
for accessing the media
service
instance.
The service request specifies a media service instance by
choosing
appropriate values for the mediaServiceType
and
mediaServiceInstanceID
parameters, and a
connectionMode
parameter that specifies how the attachment is to be made.
The roles played by the various devices in the call, and the
means by which
the attachment is performed, depend upon the
connectionMode
.
The connectionMode
consists of a set of values
that specify
the call control service(s) that is to be applied to the
connection so that
the MAD can be added to the call, or the value of direct, which
specifies
that the MAD is already part of the call.
Refer to the specification of the call control service(s)
associated with
the specified connectionMode
for a description of
both the
operational model and the connection state transitions..
The monitoring event sequence for both device-type and
call-type monitoring
are Call Control events (dependent upon the
connectionMode
parameter) and a Media Attached event.
Note that the Media Attached event may be generated before
other call
control events associated with adding the media access device
to the call.
CSTA Functional Implementation:
connectionMode
parameter apply to
the Attach Media service.mediaServiceType
to a connection that
already
has that mediaServiceType
attached, the request
will
be rejected by the switching function.mediaServiceVersion
parameter. With respect to
this
service, however, different versions of a media service are
treated
as if they were different media services.DetachMediaService
service
to release the binding of the media service instance from the
call
rather than trying to manipulate the media access device
directly
using other call control services.mediaConnection
and
mediaDevice
parameters in the positive acknowledgement to this service will
be provided only if the connectionMode
parameter
in
the service request is any value other than
"direct".
Constructor Summary | |
---|---|
AttachMediaService()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Note: hashCode() has not been overriden |
ConnectionID |
getConnection()
Returns the value of field 'connection'. |
ConnectionMode |
getConnectionMode()
Returns the value of field 'connectionMode'. |
CSTACommonArguments |
getExtensions()
Returns the value of field 'extensions'. |
java.lang.String |
getMediaServiceInstanceID()
Returns the value of field 'mediaServiceInstanceID'. |
MediaServiceType |
getMediaServiceType()
Returns the value of field 'mediaServiceType'. |
java.lang.Long |
getMediaServiceVersion()
Returns the value of field 'mediaServiceVersion'. |
LocalConnectionState |
getRequestedConnectionState()
Returns the value of field 'requestedConnectionState'. |
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 |
setConnectionMode(ConnectionMode connectionMode)
Sets the value of field 'connectionMode'. |
void |
setExtensions(CSTACommonArguments extensions)
Sets the value of field 'extensions'. |
void |
setMediaServiceInstanceID(java.lang.String mediaServiceInstanceID)
Sets the value of field 'mediaServiceInstanceID'. |
void |
setMediaServiceType(MediaServiceType mediaServiceType)
Sets the value of field 'mediaServiceType'. |
void |
setMediaServiceVersion(java.lang.Long mediaServiceVersion)
Sets the value of field 'mediaServiceVersion'. |
void |
setRequestedConnectionState(LocalConnectionState requestedConnectionState)
Sets the value of field 'requestedConnectionState'. |
static AttachMediaService |
unmarshalAttachMediaService(java.io.Reader reader)
Method unmarshalAttachMediaService |
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 AttachMediaService()
Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class ch.ecma.csta.CastorObject
obj
-
public ConnectionID getConnection()
public ConnectionMode getConnectionMode()
public CSTACommonArguments getExtensions()
public java.lang.String getMediaServiceInstanceID()
public MediaServiceType getMediaServiceType()
public java.lang.Long getMediaServiceVersion()
public LocalConnectionState getRequestedConnectionState()
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 setConnectionMode(ConnectionMode connectionMode)
connectionMode
- the value of field 'connectionMode'.public void setExtensions(CSTACommonArguments extensions)
extensions
- the value of field 'extensions'.public void setMediaServiceInstanceID(java.lang.String mediaServiceInstanceID)
mediaServiceInstanceID
- the value of field
'mediaServiceInstanceID'.public void setMediaServiceType(MediaServiceType mediaServiceType)
mediaServiceType
- the value of field 'mediaServiceType'public void setMediaServiceVersion(java.lang.Long mediaServiceVersion)
mediaServiceVersion
- the value of field
'mediaServiceVersion'.public void setRequestedConnectionState(LocalConnectionState requestedConnectionState)
requestedConnectionState
- the value of field
'requestedConnectionState'.public static AttachMediaService unmarshalAttachMediaService(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 |