Prism.extensions.connector.handler
Class PubSubHandler

java.lang.Object
  extended by Prism.extensions.connector.handler.AbstractHandler
      extended by Prism.extensions.connector.handler.PubSubHandler

public class PubSubHandler
extends AbstractHandler


Constructor Summary
PubSubHandler()
           
 
Method Summary
 IConnector getParentConnector()
           
 void handle(Event e)
          The implementation of this method shall provide the distribution policy and rules.
 void setParentConnector(IConnector conn)
          Sets the connector to which this handler belongs
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PubSubHandler

public PubSubHandler()
Method Detail

handle

public void handle(Event e)
Description copied from class: AbstractHandler
The implementation of this method shall provide the distribution policy and rules.

Specified by:
handle in class AbstractHandler
Parameters:
e - Incoming event to be distributed

setParentConnector

public void setParentConnector(IConnector conn)
Sets the connector to which this handler belongs

Specified by:
setParentConnector in class AbstractHandler
Parameters:
conn - an IConnector to which the handler belongs

getParentConnector

public IConnector getParentConnector()