org.opennms.netmgt.poller.pollables
Interface PollContext
- All Known Implementing Classes:
- DefaultPollContext, MockPollContext
- public interface PollContext
Represents a PollContext
- Author:
- brozow
getCriticalServiceName
public java.lang.String getCriticalServiceName()
isNodeProcessingEnabled
public boolean isNodeProcessingEnabled()
- Returns:
isPollingAllIfCritServiceUndefined
public boolean isPollingAllIfCritServiceUndefined()
- Returns:
sendEvent
public PollEvent sendEvent(Event event)
- Parameters:
event
- the event to send
- Returns:
- the same event
createEvent
public Event createEvent(java.lang.String uei,
int nodeId,
java.net.InetAddress address,
java.lang.String svcName,
java.util.Date date)
- Parameters:
uei
- nodeId
- address
- svcName
- date
-
- Returns:
openOutage
public void openOutage(PollableService pSvc,
PollEvent svcLostEvent)
resolveOutage
public void resolveOutage(PollableService pSvc,
PollEvent svcRegainEvent)
isServiceUnresponsiveEnabled
public boolean isServiceUnresponsiveEnabled()
- Returns:
reparentOutages
public void reparentOutages(java.lang.String ipAddr,
int oldNodeId,
int newNodeId)
Generated by eevans on May 29 2005 2015.