sdt.mediator
Interface IHandler


public interface IHandler

A handler encapsulates the code that gets run when a trigger "fires". It is important to note that the run method executes in its own thread. Thus, concurrency control might be needed to prevent interference with the application actions.


Method Summary
 Response run(TriggerBinding[] binding)
          Executes the handler.
 

Method Detail

run

Response run(TriggerBinding[] binding)
Executes the handler. Called by the SDT.

Parameters:
binding - The variables bound by the triggering event.
Returns:
The appropriate response the SDT should take.