JSR-043: JTAPI-1.4

javax.telephony.media.async
Interface Async.BindToCallEvent

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

public static interface Async.BindToCallEvent
extends Async.BindEvent

Return event when binding to a Call. This contains a Connection.

See Also:
Async.MediaService.async_bindToCall(javax.telephony.media.ConfigSpec, javax.telephony.Call), Async.MediaService.async_bindAndConnect(javax.telephony.media.ConfigSpec, java.lang.String, java.lang.String)

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
 Connection getConnection()
          Get the Connection object associated with this method.
 void throwIfCallException()
          Detect and throw MediaCallException and RuntimeException.
 
Methods inherited from interface javax.telephony.media.async.Async.BindAndReleaseEvent
throwIfBindException, throwIfConfigException
 
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

throwIfCallException

public void throwIfCallException()
                          throws MediaCallException
Detect and throw MediaCallException and RuntimeException.

Calls throwIfRuntimeException internally.

Throws:
MediaCallException -  

getConnection

public Connection getConnection()
Get the Connection object associated with this method.
Returns:
a JTAPI Connection object.

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org