ponderEnforcement.ponderMC.policyObjects.events
Class EventConsumer

java.lang.Object
  |
  +--ponderEnforcement.ponderMC.policyObjects.events.EventConsumer
Direct Known Subclasses:
CompEventConsumer, MultEventConsumer, SingleNamedEvConsumer, SingleTimerEvConsumer

public abstract class EventConsumer
extends java.lang.Object

Function:


Field Summary
static int EVENT_CONSUMER_LEFT
           
static int EVENT_CONSUMER_NORMAL
           
static int EVENT_CONSUMER_RIGHT
           
 
Constructor Summary
EventConsumer(EventConsumer newParent, int newConsumerType)
          Constructor
EventConsumer(EventHandlerAdapterI newEvHandlerAdapter)
          Constructor
 
Method Summary
protected  void informEvent(PonderEventI ponderEvent)
          Send a notification that the event for which this EventConsumer is responsible has occured
abstract  boolean register()
          Register the subscription.
abstract  boolean unregister()
          Unregister the subscription.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EVENT_CONSUMER_NORMAL

public static final int EVENT_CONSUMER_NORMAL

EVENT_CONSUMER_LEFT

public static final int EVENT_CONSUMER_LEFT

EVENT_CONSUMER_RIGHT

public static final int EVENT_CONSUMER_RIGHT
Constructor Detail

EventConsumer

public EventConsumer(EventConsumer newParent,
                     int newConsumerType)
Constructor

EventConsumer

public EventConsumer(EventHandlerAdapterI newEvHandlerAdapter)
Constructor
Method Detail

informEvent

protected void informEvent(PonderEventI ponderEvent)
Send a notification that the event for which this EventConsumer is responsible has occured

register

public abstract boolean register()
Register the subscription. This is an abstract method

unregister

public abstract boolean unregister()
Unregister the subscription. This is an abstract method