JSR-043: JTAPI-1.4

javax.telephony.media.async
Interface Async.BindAndReleaseEvent

All Superinterfaces:
Async.Event, Async.MediaServiceEvent, MediaConstants, MediaEvent, MediaServiceConstants, MediaServiceEvent
All Known Subinterfaces:
Async.BindEvent, Async.BindToCallEvent, Async.DelegationEvent, Async.ReleaseEvent
All Known Implementing Classes:
Base.BindAndReleaseEvent
Enclosing class:
Async

public static interface Async.BindAndReleaseEvent
extends Async.MediaServiceEvent

Marks the events from the GroupProvider. These events contain the new MediaGroup binding.

For a ReleaseEvent, the contained MediaGroup is always null. And a ReleaseEvent does not carry MediaConfigException.

Any BindAndReleaseEvent can throw a BindCancelledException.


Fields inherited from interface javax.telephony.media.MediaServiceConstants
ev_BindAndConnect, ev_BindToCall, ev_BindToServiceName, ev_BindToTerminal, ev_BindToTerminalName, ev_Configure, ev_Connected, ev_DelegateToService, ev_Disconnected, ev_GetConfigSpec, ev_GetConfiguration, ev_GetParameters, ev_GetTerminal, ev_GetTerminalName, ev_GetUserValues, ev_GroupStop, ev_Release, ev_ReleaseDelegated, ev_ReleaseToDestroy, ev_ReleaseToService, ev_ReleaseToTag, ev_Retrieve, ev_Retrieved, ev_SetParameters, ev_SetUserDictionary, ev_SetUserValues, ev_TerminalIdle, ev_TriggerRTC
 
Fields inherited from interface javax.telephony.media.MediaConstants
e_OK, q_Duration, q_Standard, q_Stop
 
Method Summary
 void throwIfBindException()
          Detect and throw MediaBindException and RuntimeException.
 void throwIfConfigException()
          Detect and throw MediaConfigException and RuntimeException.
 
Methods inherited from interface javax.telephony.media.async.Async.Event
isDone, throwIfRuntimeException, waitForEventDone, waitForEventDone, waitForListenersDone
 
Methods inherited from interface javax.telephony.media.MediaEvent
getError, getEventID, getException, getPayload, getQualifier, getSubError, getWarning
 
Methods inherited from interface javax.telephony.media.MediaServiceEvent
getMediaService
 

Method Detail

throwIfBindException

public void throwIfBindException()
                          throws MediaBindException
Detect and throw MediaBindException and RuntimeException.

Calls throwIfRuntimeException internally.

Throws:
MediaBindException -  

throwIfConfigException

public void throwIfConfigException()
                            throws MediaConfigException
Detect and throw MediaConfigException and RuntimeException. Used for MediaGroupEvent from async_configure().

Calls throwIfRuntimeException internally.

Throws:
MediaConfigException -  

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org