org.opennms.netmgt.poller.pollables
Class PendingPollEvent

java.lang.Object
  extended by org.opennms.netmgt.poller.pollables.PollEvent
      extended by org.opennms.netmgt.poller.pollables.PendingPollEvent

public class PendingPollEvent
extends PollEvent

Represents a PendingPollEvent

Author:
Mathew Brozowski

Constructor Summary
PendingPollEvent(Event event)
           
 
Method Summary
 void addPending(Runnable r)
           
 void complete(Event e)
           
 Date getDate()
           
 Event getEvent()
           
 int getEventId()
           
 boolean isPending()
           
 void processPending()
           
 String toString()
           
 
Methods inherited from class org.opennms.netmgt.poller.pollables.PollEvent
getScope, hasLargerScopeThan, hasSameScope, hasScopeLargerThan, hasScopeSmallerThan, hasSmallerScopeThan, isInterfaceDown, isNodeDown, isNodeLostService, withLargestScope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PendingPollEvent

public PendingPollEvent(Event event)
Method Detail

getDate

public Date getDate()
Specified by:
getDate in class PollEvent

getEventId

public int getEventId()
Specified by:
getEventId in class PollEvent

addPending

public void addPending(Runnable r)

getEvent

public Event getEvent()

isPending

public boolean isPending()

complete

public void complete(Event e)

processPending

public void processPending()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009. All Rights Reserved.