Class PollableNetwork


  • public class PollableNetwork
    extends java.lang.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

      • create

        public PollableInterface create​(int nodeid,
                                        java.lang.String ipaddress,
                                        java.lang.String netMask,
                                        java.lang.String packageName)

        create

        Parameters:
        nodeid - a int.
        ipaddress - a String object.
        packageName - a String object.
        Returns:
        a PollableInterface object.
      • deleteAll

        public void deleteAll()

        deleteAll

      • delete

        public void delete​(java.lang.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​(java.lang.String ipaddress)

        suspend

        Parameters:
        ipaddress - a String object.
      • activate

        public void activate​(java.lang.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 java.lang.String getIp​(int nodeid)

        getIp

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

        public boolean hasPollableInterface​(java.lang.String ipaddr)

        hasPollableInterface

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

        public void setContext​(PollContext context)

        setContext

        Parameters:
        context - a PollContext object.