BEA Systems, Inc.

com.connecterra.util.event
Interface Event


public interface Event

This interface is implemented by classes which are used by the event queueing methods of AbstractEventProcessor.


Method Summary
 void handle()
          When an Event is handled on the AbstractEventProcessor's Scheduler, this method is called on the Scheduler's thread.
 

Method Detail

handle

void handle()
When an Event is handled on the AbstractEventProcessor's Scheduler, this method is called on the Scheduler's thread.

Generally, this class is used to create anonymous classes which contain a some code to be executed:

     doASAP(new Event() {
         public void handle() {
             readTagBuffer();
             updateReaderConfiguration();
         }
     });
 


Documentation is available at
${DOCSWEBROOT}
Copyright 2007 BEA Systems Inc.