Package javax.events
Class AsyncEvent

Public Method setHandler

void setHandler(AsyncEventHandler handler)

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Parameter Description
handler asynchronous event handle

This method removes all handlers from the handlers list and adds the current asynchronous handler to the handler list.

Example

   private AsyncEvent evList[] = new AsyncEvent[10];
   ...
      evList[eventId].setHandler();

The example above removes all asynchronous event handler from the event handler list and adds the specified asynchronous event handler to the event handler list.

See also:

AsyncEventHandler