javax.telephony.media.provider
Interface MPI.Owner
- All Known Implementing Classes:
- Base_MediaService, Base_Owner
- Enclosing class:
- MPI
- public static interface MPI.Owner
A MediaService implementation (like Base_MediaService)
implements this.
Base.Event uses this method to notify the Owner when the
event is done.
Note: Owner has two meanings:
Originally, a MediaService object 'owns' a MediaGroup,
and so is the 'Owner'.
Additionally, Events must have a 'source',
(which is also a MediaService object),
and that 'source' must implement a Dispatcher to process the
event when the event is done-ified.
So 'Owner' also refers to being the 'source' or 'owner' of Events.
- See Also:
Base_Owner.onEventDone(javax.telephony.media.provider.Base.Event)
onEventDone
public void onEventDone(Base.Event event)
- Inform Owner that the given event is "done".
Note: In the provider package implementation,
this method is invoked inside Base.Event.done().
The Owner dispatches the event [eventually]
by invoking Base.Event.dispatch() on the event.
The Base_MediaService class in the provider package
does this using the EventQueue Dispatcher
which casts the Base.Event to
its DispachableEvent interface
which contains the dispatch() method.
- See Also:
Base.Event
Send comments to: JSR-43@ectf.org