Class PollableNetwork


  • public class PollableNetwork
    extends Object
    Represents an SNMP PollableNetwork
    Version:
    $Id: $
    Author:
    Antonio Russo
    • Constructor Detail

      • PollableNetwork

        public PollableNetwork​(PollContext context)

        Constructor for PollableNetwork.

        Parameters:
        context - a PollContext object.
    • Method Detail

      • deleteAll

        public void deleteAll()

        deleteAll

      • delete

        public void delete​(String ipaddress)

        delete

        Parameters:
        ipaddress - a String object.
      • delete

        public void delete​(int nodeid)

        delete

        Parameters:
        nodeid - a int.
      • refresh

        public void refresh​(int nodeid)

        refresh

        Parameters:
        nodeid - a int.
      • suspend

        public void suspend​(String ipaddress)

        suspend

        Parameters:
        ipaddress - a String object.
      • activate

        public void activate​(String ipaddress)

        activate

        Parameters:
        ipaddress - a String object.
      • suspend

        public void suspend​(int nodeid)

        suspend

        Parameters:
        nodeid - a int.
      • activate

        public void activate​(int nodeid)

        activate

        Parameters:
        nodeid - a int.
      • getIp

        public String getIp​(int nodeid)

        getIp

        Parameters:
        nodeid - a int.
        Returns:
        a String object.
      • hasPollableInterface

        public boolean hasPollableInterface​(String ipaddr)

        hasPollableInterface

        Parameters:
        ipaddr - a String object.
        Returns:
        a boolean.
      • setContext

        public void setContext​(PollContext context)

        setContext

        Parameters:
        context - a PollContext object.