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:
|
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 |
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
EventConsumer
public EventConsumer(EventConsumer newParent,
int newConsumerType)
- Constructor
EventConsumer
public EventConsumer(EventHandlerAdapterI newEvHandlerAdapter)
- Constructor
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