Prism.core
Interface IHandler


public interface IHandler

This interface is implemented by any Handler class in Prism. The Handler provides a mechanism for event distribution that complies with a particular event distribution policy. A handler is assigned to a connector.

Version:
2.0
Author:
USC Soft. Arch. Group. Contact: Sam Malek malek@usc.edu

Method Summary
 void handle(Event e)
          The implementation of this method shall provide the distribution policy and rules.
 void setParentConnector(IConnector conn)
          The implementation shall allow the Handler object to set its parent conector.
 

Method Detail

handle

void handle(Event e)
The implementation of this method shall provide the distribution policy and rules.

Parameters:
e - Incoming event to be distributed

setParentConnector

void setParentConnector(IConnector conn)
The implementation shall allow the Handler object to set its parent conector.

Parameters:
conn - parent connector of this Handler object