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(TriggerBindings bindings)
          Executes the handler.
 

Method Detail

run

Response run(TriggerBindings bindings)
Executes the handler. Called by the SDT.

Parameters:
binding - A list of variables bound by the triggering event, with associated values.
Returns:
The appropriate response the SDT should take.