|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.snmpinterfacepoller.pollable.PollableInterface
public class PollableInterface
Represents an SNMP PollableInterface
| Constructor Summary | |
|---|---|
PollableInterface(PollableNetwork parent)
Constructor for PollableInterface. |
|
| Method Summary | |
|---|---|
protected void |
activate()
activate |
PollableSnmpInterface |
createPollableSnmpInterface(String name,
String criteria,
boolean hasPort,
int port,
boolean hasTimeout,
int timeout,
boolean hasRetries,
int retries,
boolean hasMaxVarsPerPdu,
int maxVarsPerPdu)
createPollableSnmpInterface |
protected void |
delete()
delete |
PollContext |
getContext()
getContext |
String |
getIpaddress()
getIpaddress |
int |
getNodeid()
getNodeid |
String |
getPackageName()
getPackageName |
PollableNetwork |
getParent()
getParent |
HashMap<String,PollableSnmpInterface> |
getSnmpinterfacepollableNodes()
getSnmpinterfacepollableNodes |
protected void |
initialize()
Initialize the service monitor. |
boolean |
polling()
polling |
protected void |
refresh()
refresh |
void |
setIpaddress(String ipaddress)
setIpaddress |
void |
setNodeid(int nodeid)
setNodeid |
void |
setPackageName(String packageName)
setPackageName |
void |
setParent(PollableNetwork parent)
setParent |
protected void |
suspend()
suspend |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PollableInterface(PollableNetwork parent)
Constructor for PollableInterface.
parent - a PollableNetwork object.| Method Detail |
|---|
protected void initialize()
Initialize the service monitor.
RuntimeException - Thrown if an unrecoverable error occurs that prevents the
plug-in from functioning.public int getNodeid()
getNodeid
public void setNodeid(int nodeid)
setNodeid
nodeid - a int.public String getIpaddress()
getIpaddress
String object.public void setIpaddress(String ipaddress)
setIpaddress
ipaddress - a String object.
public PollableSnmpInterface createPollableSnmpInterface(String name,
String criteria,
boolean hasPort,
int port,
boolean hasTimeout,
int timeout,
boolean hasRetries,
int retries,
boolean hasMaxVarsPerPdu,
int maxVarsPerPdu)
createPollableSnmpInterface
name - a String object.criteria - a String object.hasPort - a boolean.port - a int.hasTimeout - a boolean.timeout - a int.hasRetries - a boolean.retries - a int.hasMaxVarsPerPdu - a boolean.maxVarsPerPdu - a int.
PollableSnmpInterface object.protected void refresh()
refresh
protected void suspend()
suspend
protected void activate()
activate
public HashMap<String,PollableSnmpInterface> getSnmpinterfacepollableNodes()
getSnmpinterfacepollableNodes
HashMap object.public boolean polling()
polling
protected void delete()
delete
public PollableNetwork getParent()
getParent
PollableNetwork object.public void setParent(PollableNetwork parent)
setParent
parent - a PollableNetwork object.public PollContext getContext()
getContext
PollContext object.public String getPackageName()
getPackageName
String object.public void setPackageName(String packageName)
setPackageName
packageName - a String object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||