JSR-043: JTAPI-1.4

javax.telephony.media.provider
Class Base.BindToCallEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--javax.telephony.media.provider.EventObject
              |
              +--javax.telephony.media.provider.Base.Event
                    |
                    +--javax.telephony.media.provider.Base.MediaServiceEvent
                          |
                          +--javax.telephony.media.provider.Base.BindAndReleaseEvent
                                |
                                +--javax.telephony.media.provider.Base.BindEvent
                                      |
                                      +--javax.telephony.media.provider.Base.BindToCallEvent
All Implemented Interfaces:
Async.BindAndReleaseEvent, Async.BindEvent, Async.BindToCallEvent, Async.Event, Async.MediaServiceEvent, Dispatcher.DispatchableEvent, MediaConstants, MediaEvent, MediaServiceConstants, MediaServiceEvent, java.io.Serializable
Enclosing class:
Base

public static class Base.BindToCallEvent
extends Base.BindEvent
implements Async.BindToCallEvent

Completion Event for bindToCall method. A BindEvent that carries a Call object.

See Also:
Serialized Form

Inner classes inherited from class javax.telephony.media.provider.Base.Event
Base.Event.SyncInterruptedException
 
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
 
Constructor Summary
Base.BindToCallEvent(java.lang.Object source)
           
Base.BindToCallEvent(java.lang.Object source, Symbol eventID)
           
 
Method Summary
 void done(java.lang.Exception exception, MPI.MediaGroup mediaGroup, Connection connection)
           
 Connection getConnection()
          Get the Connection object associated with this method.
 void throwIfCallException()
          Detect and throw MediaCallException and RuntimeException.
 
Methods inherited from class javax.telephony.media.provider.Base.BindEvent
dispatch, done, throwIfConfigException
 
Methods inherited from class javax.telephony.media.provider.Base.BindAndReleaseEvent
throwIfBindException
 
Methods inherited from class javax.telephony.media.provider.Base.MediaServiceEvent
getMediaService
 
Methods inherited from class javax.telephony.media.provider.Base.Event
done, getError, getEventID, getException, getPayload, getQualifier, getSubError, getWarning, isDone, setError, setFields, setFields, setPayload, setQualifier, setSubError, throwIfRuntimeException, toString, waitForEventDone, waitForEventDone, waitForListenersDone
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 

Constructor Detail

Base.BindToCallEvent

public Base.BindToCallEvent(java.lang.Object source,
                            Symbol eventID)

Base.BindToCallEvent

public Base.BindToCallEvent(java.lang.Object source)
Method Detail

getConnection

public Connection getConnection()
Description copied from interface: Async.BindToCallEvent
Get the Connection object associated with this method.
Specified by:
getConnection in interface Async.BindToCallEvent
Following copied from interface: javax.telephony.media.async.Async.BindToCallEvent
Returns:
a JTAPI Connection object.

done

public void done(java.lang.Exception exception,
                 MPI.MediaGroup mediaGroup,
                 Connection connection)

throwIfCallException

public void throwIfCallException()
                          throws MediaCallException
Description copied from interface: Async.BindToCallEvent
Detect and throw MediaCallException and RuntimeException.

Calls throwIfRuntimeException internally.

Specified by:
throwIfCallException in interface Async.BindToCallEvent
Following copied from interface: javax.telephony.media.async.Async.BindToCallEvent
Throws:
MediaCallException -  

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org