public class PollableInterface extends Object
| Constructor and Description |
|---|
PollableInterface(PollableNetwork parent)
Constructor for PollableInterface.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
Map<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
|
public PollableInterface(PollableNetwork parent)
Constructor for PollableInterface.
parent - a PollableNetwork object.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 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 Map<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.Copyright © 2020. All rights reserved.