JSR-043: JTAPI-1.4

javax.telephony.media.provider
Interface Dispatcher.DispatchableEvent

All Known Implementing Classes:
Base.Event
Enclosing class:
Dispatcher

public static interface Dispatcher.DispatchableEvent

Supplies a method to dispatch an object to its Listener. Typically, some specialization of EventObject implements this interface.

Implementation Note: The dispatch method verifies the supplied listener is suitable for this event then casts the listener and invokes the appropriate callback:

 if (listener instanceof MyListener) 
    ((MyListener)listener).MyCallback(this);
 


Method Summary
 void dispatch(java.util.EventListener listener)
           
 

Method Detail

dispatch

public void dispatch(java.util.EventListener listener)

JSR-043: JTAPI-1.4

Send comments to: JSR-43@ectf.org