JSR-043: JTAPI-1.4

javax.telephony.media.provider
Class Base.MediaServiceEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--javax.telephony.media.provider.EventObject
              |
              +--javax.telephony.media.provider.Base.Event
                    |
                    +--javax.telephony.media.provider.Base.MediaServiceEvent
All Implemented Interfaces:
Async.Event, Dispatcher.DispatchableEvent, MediaConstants, MediaEvent, MediaServiceConstants, MediaServiceEvent, java.io.Serializable
Direct Known Subclasses:
Base.BindAndReleaseEvent, Base.DelegatedEvent, Base.DisconnectedEvent, Base.MediaGroupEvent, Base.ResourceEvent
Enclosing class:
Base

public static class Base.MediaServiceEvent
extends Base.Event
implements MediaServiceEvent

Base class for other Events; implements MediaServiceEvent.getMediaService().

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.MediaServiceEvent(java.lang.Object source, Symbol eventID)
          An Event from a MediaService.
Base.MediaServiceEvent(java.lang.Object source, Symbol eventID, java.lang.Exception exception)
           
 
Method Summary
 MediaService getMediaService()
          Get the MediaService associated with the current event.
 
Methods inherited from class javax.telephony.media.provider.Base.Event
dispatch, 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.MediaEvent
getError, getEventID, getException, getPayload, getQualifier, getSubError, getWarning
 

Constructor Detail

Base.MediaServiceEvent

public Base.MediaServiceEvent(java.lang.Object source,
                              Symbol eventID)
An Event from a MediaService.
Parameters:
source - a MediaService and MPI$Owner
eventID - a Symbol that identifies this event.

Base.MediaServiceEvent

public Base.MediaServiceEvent(java.lang.Object source,
                              Symbol eventID,
                              java.lang.Exception exception)
Method Detail

getMediaService

public MediaService getMediaService()
Get the MediaService associated with the current event.

Defined in MediaEvent

Specified by:
getMediaService in interface MediaServiceEvent
Overrides:
getMediaService in class Base.Event
Returns:
the MediaService associated with this event.

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org