org.opennms.netmgt.snmpinterfacepoller.pollable
Class PollableInterface

java.lang.Object
  extended by org.opennms.netmgt.snmpinterfacepoller.pollable.PollableInterface

public class PollableInterface
extends Object


Constructor Summary
PollableInterface(PollableNetwork parent)
           
 
Method Summary
protected  void activate()
           
 PollableSnmpInterface createPollableSnmpInterface(Interface pkgIface)
           
protected  void delete()
           
 PollContext getContext()
           
 String getIpaddress()
           
 int getNodeid()
           
 String getPackageName()
           
 PollableNetwork getParent()
           
 HashMap<String,PollableSnmpInterface> getSnmpinterfacepollableNodes()
           
protected  void initialize()
           Initialize the service monitor.
 boolean polling()
           
protected  void refresh()
           
 void setIpaddress(String ipaddress)
           
 void setNodeid(int nodeid)
           
 void setPackageName(String packageName)
           
 void setParent(PollableNetwork parent)
           
protected  void suspend()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PollableInterface

public PollableInterface(PollableNetwork parent)
Method Detail

initialize

protected void initialize()

Initialize the service monitor.

Parameters:
parameters - Not currently used.
Throws:
RuntimeException - Thrown if an unrecoverable error occurs that prevents the plug-in from functioning.

getNodeid

public int getNodeid()

setNodeid

public void setNodeid(int nodeid)

getIpaddress

public String getIpaddress()

setIpaddress

public void setIpaddress(String ipaddress)

createPollableSnmpInterface

public PollableSnmpInterface createPollableSnmpInterface(Interface pkgIface)

refresh

protected void refresh()

suspend

protected void suspend()

activate

protected void activate()

getSnmpinterfacepollableNodes

public HashMap<String,PollableSnmpInterface> getSnmpinterfacepollableNodes()

polling

public boolean polling()

delete

protected void delete()

getParent

public PollableNetwork getParent()

setParent

public void setParent(PollableNetwork parent)

getContext

public PollContext getContext()

getPackageName

public String getPackageName()

setPackageName

public void setPackageName(String packageName)


Copyright © 2009. All Rights Reserved.