public class PollableNetwork extends Object
| Constructor and Description | 
|---|
PollableNetwork(PollContext context)
Constructor for PollableNetwork. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
activate(int nodeid)
activate 
 | 
void | 
activate(String ipaddress)
activate 
 | 
PollableInterface | 
create(int nodeid,
      String ipaddress,
      String netMask,
      String packageName)
create 
 | 
void | 
delete(int nodeid)
delete 
 | 
void | 
delete(String ipaddress)
delete 
 | 
void | 
deleteAll()
deleteAll 
 | 
PollContext | 
getContext()
getContext 
 | 
String | 
getIp(int nodeid)
getIp 
 | 
boolean | 
hasPollableInterface(String ipaddr)
hasPollableInterface 
 | 
void | 
refresh(int nodeid)
refresh 
 | 
void | 
schedule(PollableSnmpInterface node,
        long interval,
        Scheduler scheduler)
schedule 
 | 
void | 
setContext(PollContext context)
setContext 
 | 
void | 
suspend(int nodeid)
suspend 
 | 
void | 
suspend(String ipaddress)
suspend 
 | 
public PollableNetwork(PollContext context)
Constructor for PollableNetwork.
context - a PollContext object.public PollableInterface create(int nodeid, String ipaddress, String netMask, String packageName)
create
nodeid - a int.ipaddress - a String object.packageName - a String object.PollableInterface object.public void schedule(PollableSnmpInterface node, long interval, Scheduler scheduler)
schedule
node - a PollableSnmpInterface object.criteria - a String object.interval - a long.scheduler - a Scheduler object.public void deleteAll()
deleteAll
public void delete(int nodeid)
delete
nodeid - a int.public void refresh(int nodeid)
refresh
nodeid - a int.public void suspend(int nodeid)
suspend
nodeid - a int.public void activate(int nodeid)
activate
nodeid - a int.public boolean hasPollableInterface(String ipaddr)
hasPollableInterface
ipaddr - a String object.public PollContext getContext()
getContext
PollContext object.public void setContext(PollContext context)
setContext
context - a PollContext object.Copyright © 2020. All rights reserved.