All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ss98.snmp.ss98Host

java.lang.Object
   |
   +----ss98.snmp.ss98Host

public class ss98Host
extends Object
implements Serializable
Version $Id: ss98Host.java,v 1.5 1999/05/06 07:19:14 jeremiah Exp $ 
This is where all the information on a particular host is gathered 
as well as saved. Hosts are stored and polled by snmpControl. 
$Log: ss98Host.java,v $
Revision 1.5  1999/05/06 07:19:14  jeremiah
Finalized for moment
Revision 1.4  1999/05/05 20:18:13  jeremiah
added getPercent() and tied in poll()
Revision 1.3  1999/05/05 20:08:59  jeremiah
Changed update to reflect change in OID.update
Revision 1.2  1999/04/30 05:59:27  jeremiah
Need to change code to reeflect single bound for each oid


Variable Index

 o community
 o hostname
 o location
 o lowerBound
 o lowerLimit
 o oid
 o oids
 o percent
 o port
 o session
 o translations
 o upperBound
 o upperLimit

Constructor Index

 o ss98Host()
generic creation
 o ss98Host(String, String)
make a new instance passing the hastname, and the community

Method Index

 o addOID(String, String, int, int)
add an oid to our poll list
 o getCommunity()
 o getHostname()
 o getLowerBound()
 o getLowerLimit()
 o getOIDs()
 o getPercent()
 o getTranslations()
 o getUpperBound()
 o getUpperLimit()
 o poll()
returns a vector of all values we care about.
 o setCommunity(String)
set the community that will be queried
 o setHostname(String)
 o setLowerBound(int)
 o setLowerLimit(int)
 o setOIDs(Vector)
 o setPort(int)
set the port of the remote snmp server
 o setTranslations(Vector)
 o setUpperBound(int)
 o setUpperLimit(int)

Variables

 o community
 private String community
 o hostname
 private String hostname
 o port
 private int port
 o translations
 private Vector translations
 o oids
 private Vector oids
 o oid
 private String oid[]
 o session
 private transient SnmpSession session
 o upperBound
 private int upperBound
 o lowerBound
 private int lowerBound
 o upperLimit
 private int upperLimit
 o lowerLimit
 private int lowerLimit
 o percent
 private float percent
 o location
 public Rectangle location

Constructors

 o ss98Host
 public ss98Host()
generic creation

 o ss98Host
 public ss98Host(String hostname,
                 String community)
make a new instance passing the hastname, and the community

Methods

 o getOIDs
 public Vector getOIDs()
 o getTranslations
 public Vector getTranslations()
 o setOIDs
 public void setOIDs(Vector oids)
 o setTranslations
 public void setTranslations(Vector translations)
 o getHostname
 public String getHostname()
 o getCommunity
 public String getCommunity()
 o getUpperBound
 public int getUpperBound()
 o getLowerBound
 public int getLowerBound()
 o getUpperLimit
 public int getUpperLimit()
 o getLowerLimit
 public int getLowerLimit()
 o getPercent
 public float getPercent()
 o setUpperBound
 public void setUpperBound(int upperBound)
 o setLowerBound
 public void setLowerBound(int lowerBound)
 o setUpperLimit
 public void setUpperLimit(int upperLimit)
 o setLowerLimit
 public void setLowerLimit(int lowerLimit)
 o setPort
 public void setPort(int port)
set the port of the remote snmp server

 o setCommunity
 public void setCommunity(String community)
set the community that will be queried

 o setHostname
 public void setHostname(String hostname)
 o poll
 public void poll()
returns a vector of all values we care about. oids only at the moment

 o addOID
 public void addOID(String oid,
                    String name,
                    int upperBound,
                    int lowerBound)
add an oid to our poll list


All Packages  Class Hierarchy  This Package  Previous  Next  Index