org.opennms.netmgt.alarmd.northbounder.http
Class HttpNorthbounder

java.lang.Object
  extended by org.opennms.netmgt.alarmd.api.support.AbstractNorthbounder
      extended by org.opennms.netmgt.alarmd.northbounder.http.HttpNorthbounder
All Implemented Interfaces:
Runnable, Northbounder, StatusFactory<NorthboundAlarm>

public class HttpNorthbounder
extends AbstractNorthbounder

Forwards north bound alarms via HTTP. FIXME: Needs lots of work still :(

Author:
David Hustace

Constructor Summary
protected HttpNorthbounder()
           
 
Method Summary
 boolean accepts(NorthboundAlarm alarm)
           
 void forwardAlarms(List<NorthboundAlarm> alarms)
           
 HttpNorthbounderConfig getConfig()
           
 void setConfig(HttpNorthbounderConfig config)
           
 
Methods inherited from class org.opennms.netmgt.alarmd.api.support.AbstractNorthbounder
createSyncLostMessage, discard, getName, onAlarm, onPostStart, onPreStart, onStop, preserve, run, setMaxBatchSize, setMaxPreservedAlarms, setNaglesDelay, setRetryInterval, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpNorthbounder

protected HttpNorthbounder()
Method Detail

accepts

public boolean accepts(NorthboundAlarm alarm)
Specified by:
accepts in class AbstractNorthbounder

forwardAlarms

public void forwardAlarms(List<NorthboundAlarm> alarms)
                   throws NorthbounderException
Specified by:
forwardAlarms in class AbstractNorthbounder
Throws:
NorthbounderException

getConfig

public HttpNorthbounderConfig getConfig()

setConfig

public void setConfig(HttpNorthbounderConfig config)


Copyright © 2011. All Rights Reserved.