|
JSR-043: JTAPI-1.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Asynchronous versions of the Delegation transaction methods. These methods return Async.Events that notify when the transaction is complete, and are delivered to some MediaListener callback.
Fields inherited from interface javax.telephony.media.DelegationConstants |
ev_Delegated, q_Released, q_Removed, q_Retrieved, q_Returned, tag_CatchAll, tag_CatchNone, tag_DestroyRequest, tag_NeverReturn, tag_NormalReturn, tag_RemoveSession, tag_SessionDeath, v_Released |
Fields inherited from interface javax.telephony.media.MediaConstants |
e_OK, q_Duration, q_Standard, q_Stop |
Method Summary | |
Async.DelegationEvent |
async_delegateToService(java.lang.String serviceName,
int timeout,
java.lang.String catchTags)
Async version of delegateToService. |
Async.DelegationEvent |
async_releaseDelegated()
Cancel the delegation that is in progress on this MediaService. |
Async.DelegationEvent |
async_retrieve(Symbol cause)
Cancel the delegation that is in progress on this MediaService. |
Method Detail |
public Async.DelegationEvent async_delegateToService(java.lang.String serviceName, int timeout, java.lang.String catchTags) throws NotBoundException, MediaBindException, NotOwnerException
Transfer ownership of the bound MediaGroup to another MediaService, and stay on the owner stack until the MediaGroup is returned.
Invokes onDelegateToServiceDone
when complete.
serviceName
- a String naming the servicetimeout
- an int specifying the timeout in millisecondscatchTags
- a String of tags to match a possible releaseTagNotBoundException
- if not currently bound to a MediaGroup.MediaBindException
- a BindInProgressException
if bind or release already in progressNotOwnerException
- if MediaGroup is already delegated.Delegation.delegateToService(java.lang.String, int, java.lang.String)
public Async.DelegationEvent async_retrieve(Symbol cause) throws NotBoundException, MediaBindException, NotDelegatedException
Async version of Delegation.retrieve(Symbol)
.
Invokes onRetrieveDone
when complete.
cause
- a Symbol that becomes the return value for getRetrieveCause().NotBoundException
- if not currently bound to a MediaGroup.MediaBindException
- a BindInProgressException
if bind or release is already in progressNotDelegatedException
- if delegateToService is not active.Delegation.retrieve(javax.telephony.media.Symbol)
public Async.DelegationEvent async_releaseDelegated() throws NotBoundException, MediaBindException, NotDelegatedException
Async version of Delegation.releaseDelegated()
.
Invokes onRetrieveDone
when complete.
NotBoundException
- if not currently bound to a MediaGroup.MediaBindException
- a BindInProgressException
if bind or release is already in progressNotDelegatedException
- if delegateToService is not active.Delegation.releaseDelegated()
|
JSR-043: JTAPI-1.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |