Prism.extensions.connector.handler
Class C2Handler

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

public class C2Handler
extends AbstractHandler

C2BasicHandler is an implementation of AbstractHandler for handling events in the manner basic to C2 style connectors handle messages.

Version:
0.2

Constructor Summary
C2Handler()
           
 
Method Summary
 void handle(Event e)
          Handles the events in the same way basic C2 connectors handle them
 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

C2Handler

public C2Handler()
Method Detail

handle

public void handle(Event e)
Handles the events in the same way basic C2 connectors handle them

Specified by:
handle in class AbstractHandler
Parameters:
e - Event to be handled

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